{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/adamenders/Dropbox/Perceived vs. Affective Polarization/Main text, Stata log.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 9 Mar 2020, 17:58:30

{com}. use "/Users/adamenders/Dropbox/Perceived vs. Affective Polarization/Data and Code/Cumulative/anes_timeseries_cdf.dta"

. do "/var/folders/xb/ddtsf7g93xd57f7hhtnm9lyc0000gp/T//SD60023.000000"
{txt}
{com}. ********************************************************************************
. ********************************************************************************
. ********************************************************************************
. ********************************************************************************
. 
. ****
. ** Open ANES Cumulative File
. ****
. 
. set more off
{txt}
{com}. 
. * use "anes_timeseries_cdf.dta"
. 
. ********************************************************************************
. 
. ****
. ** Data cleaning and recoding
. ****
. 
. * Create ID and year identifiers
. gen caseid = VCF0006
{txt}
{com}. gen year = VCF0004
{txt}
{com}. gen sample = 1
{txt}
{com}. 
. 
. * Survey weights
. gen weight = VCF0009x
{txt}
{com}. 
. 
. * Survey mode
. gen svymode = VCF0017
{txt}
{com}. drop if svymode == 4
{txt}(6,950 observations deleted)

{com}.         
.         
. * Self ideology (recoded to range -3-3; -2 Havent thought, -8 DK, -9 NA)
. gen ideo = VCF0803
{txt}(15,316 missing values generated)

{com}. replace ideo = . if ideo < 1 
{txt}(1,846 real changes made, 1,846 to missing)

{com}. replace ideo = . if ideo == 9 
{txt}(9,775 real changes made, 9,775 to missing)

{com}. recode ideo (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(ideo: 26057 changes made)

{com}. 
. gen conserv = 1 if ideo > 0 & ideo < 4
{txt}(42,437 missing values generated)

{com}. replace conserv = 0 if ideo < 0
{txt}(6,745 real changes made)

{com}. 
. 
. * Strength of ideological predisposition
. gen ideostrength = 0 if ideo == 0
{txt}(44,239 missing values generated)

{com}. replace ideostrength = 1 if ideo == -1
{txt}(3,253 real changes made)

{com}. replace ideostrength = 1 if ideo == 1
{txt}(4,881 real changes made)

{com}. replace ideostrength = 2 if ideo == -2
{txt}(2,832 real changes made)

{com}. replace ideostrength = 2 if ideo == 2
{txt}(4,798 real changes made)

{com}. replace ideostrength = 3 if ideo == -3
{txt}(660 real changes made)

{com}. replace ideostrength = 3 if ideo == -3
{txt}(0 real changes made)

{com}. 
. 
. * Self party ID (recoded to range -3-3; -2 DK NA)
. gen pid = VCF0301 
{txt}(662 missing values generated)

{com}. replace pid = . if pid == 0
{txt}(1,003 real changes made, 1,003 to missing)

{com}. recode pid (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(pid: 51329 changes made)

{com}. 
. gen rep = 1 if pid > 0 & pid < 4
{txt}(34,760 missing values generated)

{com}. replace rep = 0 if pid < 0
{txt}(27,141 real changes made)

{com}. 
. 
. * Strength of ideological predisposition
. gen pidstrength = 0 if pid == 0
{txt}(47,040 missing values generated)

{com}. replace pidstrength = 1 if pid == -1
{txt}(6,175 real changes made)

{com}. replace pidstrength = 1 if pid == 1
{txt}(5,201 real changes made)

{com}. replace pidstrength = 2 if pid == -2
{txt}(10,833 real changes made)

{com}. replace pidstrength = 2 if pid == 2
{txt}(7,077 real changes made)

{com}. replace pidstrength = 3 if pid == -3
{txt}(10,133 real changes made)

{com}. replace pidstrength = 3 if pid == -3
{txt}(0 real changes made)

{com}. 
. 
. * Education (ranges from 1-7)
. gen edu = VCF0140a
{txt}(662 missing values generated)

{com}. replace edu = . if edu >= 8
{txt}(502 real changes made, 502 to missing)

{com}. label define edulab 1 "8 grades or less" 2 "9-12 grades" 3 "High school" ///
>         4 "HS + non-academic training" 5 "Some college" 6 "BA" 7 "Advanced"
{txt}
{com}. label values edu edulab
{txt}
{com}. 
. 
. * Race 
. gen race = VCF0105a
{txt}(1,139 missing values generated)

{com}. replace race = . if race == 9
{txt}(352 real changes made, 352 to missing)

{com}. 
. gen black = 1 if race == 2
{txt}(46,879 missing values generated)

{com}. replace black = 0 if race != 2 & race != .
{txt}(45,388 real changes made)

{com}. 
. gen hispanic = 1 if race == 5
{txt}(49,868 missing values generated)

{com}. replace hispanic = 0 if race != 5 & race != .
{txt}(48,377 real changes made)

{com}. 
. 
. * Gender (1=female)
. gen gender = VCF0104
{txt}
{com}. replace gender = . if gender < 1
{txt}(122 real changes made, 122 to missing)

{com}. gen female = 1 if gender == 2
{txt}(23,577 missing values generated)

{com}. recode female (.=0)
{txt}(female: 23577 changes made)

{com}. label define genderlab 0 "Male" 1 "Female"
{txt}
{com}. label values female genderlab
{txt}
{com}. 
. 
. * Age (number of years) 
. gen age = VCF0101
{txt}(1,801 missing values generated)

{com}. replace age = . if age == 00
{txt}(442 real changes made, 442 to missing)

{com}. 
. 
. * Region
. gen south = .
{txt}(52,994 missing values generated)

{com}. replace south = 0 if VCF0112 == 1
{txt}(10,096 real changes made)

{com}. replace south = 0 if VCF0112 == 2
{txt}(13,820 real changes made)

{com}. replace south = 0 if VCF0112 == 4
{txt}(9,338 real changes made)

{com}. replace south = 1 if VCF0112 == 3
{txt}(17,939 real changes made)

{com}. label var south "South Region Dummy"
{txt}
{com}. label define southern 0 "0 Non-South" 1 "1 South"
{txt}
{com}. label values south southern
{txt}
{com}. 
. 
. * Income
. gen income = VCF0114 - 1
{txt}(1,511 missing values generated)

{com}. replace income = . if income < 0
{txt}(3,749 real changes made, 3,749 to missing)

{com}. 
. 
. * Religiosity
. gen religiosity = VCF0130
{txt}(13,809 missing values generated)

{com}. recode religiosity (0=.) (7=.) (8=.) (9=.) (5=0) (4=1) (3=2) (2=3) (1=4)
{txt}(religiosity: 39185 changes made)

{com}. 
.  
. * Number of party likes/dislikes (0 - 5 likes)
. gen demlike = VCF0314
{txt}(15,819 missing values generated)

{com}. replace demlike = . if demlike == 9
{txt}(4,419 real changes made, 4,419 to missing)

{com}. 
. gen demdislike = VCF0315
{txt}(15,819 missing values generated)

{com}. replace demdislike = . if demdislike == 9
{txt}(4,419 real changes made, 4,419 to missing)

{com}. 
. gen replike = VCF0318
{txt}(15,819 missing values generated)

{com}. replace replike = . if replike == 9
{txt}(4,419 real changes made, 4,419 to missing)

{com}. 
. gen repdislike = VCF0319
{txt}(15,819 missing values generated)

{com}. replace repdislike = . if repdislike == 9
{txt}(4,419 real changes made, 4,419 to missing)

{com}. 
. 
. * Feeling thermometers
. gen liberaltherm = VCF0211
{txt}(11,694 missing values generated)

{com}. replace liberaltherm = . if liberaltherm >= 98
{txt}(6,313 real changes made, 6,313 to missing)

{com}. gen conservtherm = VCF0212
{txt}(11,694 missing values generated)

{com}. replace conservtherm = . if conservtherm >= 98
{txt}(6,121 real changes made, 6,121 to missing)

{com}. gen ideothermdiff = abs(liberaltherm - conservtherm)
{txt}(18,698 missing values generated)

{com}. 
. 
. gen dempartytherm = VCF0218
{txt}(23,355 missing values generated)

{com}. replace dempartytherm = . if dempartytherm >= 98
{txt}(1,311 real changes made, 1,311 to missing)

{com}. gen reppartytherm = VCF0224
{txt}(23,355 missing values generated)

{com}. replace reppartytherm = . if reppartytherm >= 98
{txt}(1,346 real changes made, 1,346 to missing)

{com}. gen partydifftherm = abs(dempartytherm - reppartytherm)
{txt}(24,821 missing values generated)

{com}. 
. 
. gen demcandtherm = VCF0424
{txt}(27,799 missing values generated)

{com}. replace demcandtherm = . if demcandtherm >= 98
{txt}(891 real changes made, 891 to missing)

{com}. gen repcandtherm = VCF0426
{txt}(27,799 missing values generated)

{com}. replace repcandtherm = . if repcandtherm >= 98
{txt}(806 real changes made, 806 to missing)

{com}. gen diffcandtherm = abs(demcandtherm - repcandtherm)
{txt}(28,868 missing values generated)

{com}. 
. 
. * Affective polarization
. alpha ideothermdiff partydifftherm diffcandtherm, gen(affectpol)

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} 280.6224
{txt}Number of items in the scale:{col 34}{res}        3
{txt}Scale reliability coefficient:{col 34}{res}   0.6872
{txt}
{com}. 
. 
. * Party placement on ideological scale
. gen demideo = VCF0503
{txt}(16,827 missing values generated)

{com}. replace demideo = . if demideo == 0
{txt}(5,746 real changes made, 5,746 to missing)

{com}. replace demideo = . if demideo == 8
{txt}(3,109 real changes made, 3,109 to missing)

{com}. 
. gen repideo = VCF0504
{txt}(16,827 missing values generated)

{com}. replace repideo = . if repideo == 0
{txt}(5,754 real changes made, 5,754 to missing)

{com}. replace repideo = . if repideo == 8
{txt}(3,237 real changes made, 3,237 to missing)

{com}. 
. gen partyideodiff = abs(demideo - repideo)
{txt}(26,078 missing values generated)

{com}. 
. 
. * Candidate placement on ideological scale
. gen dcandideo = VCF9088
{txt}(29,356 missing values generated)

{com}. replace dcandideo = . if dcandideo == 0
{txt}(2,272 real changes made, 2,272 to missing)

{com}. replace dcandideo = . if dcandideo >= 8
{txt}(3,712 real changes made, 3,712 to missing)

{com}. 
. gen rcandideo = VCF9089
{txt}(36,363 missing values generated)

{com}. replace rcandideo = . if rcandideo == 0
{txt}(1,183 real changes made, 1,183 to missing)

{com}. replace rcandideo = . if rcandideo >= 8
{txt}(3,334 real changes made, 3,334 to missing)

{com}. 
. gen candideodiff = abs(dcandideo - rcandideo)
{txt}(42,584 missing values generated)

{com}. 
. 
. * Sorting
. gen sorting = abs(ideo - (-1*pid)) * (ideostrength * pidstrength)
{txt}(31,099 missing values generated)

{com}. 
. 
. * Placement on guaranteed jobs scale 
. gen selfjobs = VCF0809
{txt}(16,827 missing values generated)

{com}. replace selfjobs = . if selfjobs == 0
{txt}(3,675 real changes made, 3,675 to missing)

{com}. replace selfjobs = . if selfjobs >= 8
{txt}(4,292 real changes made, 4,292 to missing)

{com}. label values selfjobs jobslab
{txt}
{com}. 
. gen demjobs = VCF0513
{txt}(27,480 missing values generated)

{com}. replace demjobs = . if demjobs == 0
{txt}(1,652 real changes made, 1,652 to missing)

{com}. replace demjobs = . if demjobs >= 8
{txt}(6,162 real changes made, 6,162 to missing)

{com}. label values demjobs jobslab
{txt}
{com}. 
. gen repjobs = VCF0514
{txt}(27,480 missing values generated)

{com}. replace repjobs = . if repjobs == 0
{txt}(1,661 real changes made, 1,661 to missing)

{com}. replace repjobs = . if repjobs >= 8
{txt}(6,181 real changes made, 6,181 to missing)

{com}. label values repjobs jobslab
{txt}
{com}. 
. gen pdiffjobs = abs(demjobs - repjobs)
{txt}(35,594 missing values generated)

{com}. 
. 
. * Self placement on aid to blacks scale 
. gen selfaid = VCF0830
{txt}(15,320 missing values generated)

{com}. replace selfaid = . if selfaid == 0
{txt}(1,802 real changes made, 1,802 to missing)

{com}. replace selfaid = . if selfaid >= 8
{txt}(4,143 real changes made, 4,143 to missing)

{com}. label values selfaid aidlab
{txt}
{com}. 
. 
. * Party placement on aid to blacks scale 
. gen demaid = VCF0517
{txt}(28,532 missing values generated)

{com}. replace demaid = . if demaid == 0
{txt}(1,841 real changes made, 1,841 to missing)

{com}. replace demaid = . if demaid >= 8
{txt}(5,969 real changes made, 5,969 to missing)

{com}. label values demaid aidlab
{txt}
{com}. 
. gen repaid = VCF0518
{txt}(28,532 missing values generated)

{com}. replace repaid = . if repaid == 0
{txt}(1,850 real changes made, 1,850 to missing)

{com}. replace repaid = . if repaid >= 8
{txt}(6,095 real changes made, 6,095 to missing)

{com}. label values repaid aidlab
{txt}
{com}. 
. gen pdiffaid = abs(demaid - repaid)
{txt}(36,691 missing values generated)

{com}. 
. 
. * Self placement on government services scale 
. gen selfservice = VCF0839
{txt}(27,273 missing values generated)

{com}. replace selfservice = . if selfservice == 0
{txt}(2,081 real changes made, 2,081 to missing)

{com}. replace selfservice = . if selfservice >= 8
{txt}(3,601 real changes made, 3,601 to missing)

{com}. recode selfservice (1=7) (2=6) (3=5) (4=4) (5=3) (6=2) (7=1)
{txt}(selfservice: 14301 changes made)

{com}. 
. 
. * Party placement on government services scale 
. gen demservice = VCF0541
{txt}(30,775 missing values generated)

{com}. replace demservice = . if demservice == 0
{txt}(2,558 real changes made, 2,558 to missing)

{com}. replace demservice = . if demservice >= 8
{txt}(2,553 real changes made, 2,553 to missing)

{com}. recode demservice (1=7) (2=6) (3=5) (4=4) (5=3) (6=2) (7=1)
{txt}(demservice: 13723 changes made)

{com}. 
. gen repservice = VCF0542
{txt}(30,775 missing values generated)

{com}. replace repservice = . if repservice == 0
{txt}(2,574 real changes made, 2,574 to missing)

{com}. replace repservice = . if repservice >= 8
{txt}(2,531 real changes made, 2,531 to missing)

{com}. recode repservice (1=7) (2=6) (3=5) (4=4) (5=3) (6=2) (7=1)
{txt}(repservice: 13323 changes made)

{com}. 
. gen pdiffservice = abs(demservice - repservice)
{txt}(36,093 missing values generated)

{com}. 
. 
. * Self placement on defense spending scale 
. gen selfdefense = VCF0843
{txt}(28,994 missing values generated)

{com}. replace selfdefense = . if selfdefense == 0
{txt}(2,091 real changes made, 2,091 to missing)

{com}. replace selfdefense = . if selfdefense >= 8
{txt}(2,943 real changes made, 2,943 to missing)

{com}. 
. 
. * Party placement on defense spending scale 
. gen demdefense = VCF0549
{txt}(34,291 missing values generated)

{com}. replace demdefense = . if demdefense == 0
{txt}(2,427 real changes made, 2,427 to missing)

{com}. replace demdefense = . if demdefense >= 8
{txt}(2,548 real changes made, 2,548 to missing)

{com}. 
. gen repdefense = VCF0550
{txt}(34,291 missing values generated)

{com}. replace repdefense = . if repdefense == 0
{txt}(2,433 real changes made, 2,433 to missing)

{com}. replace repdefense = . if repdefense >= 8
{txt}(2,346 real changes made, 2,346 to missing)

{com}. 
. gen pdiffdefense = abs(demdefense - repdefense)
{txt}(39,450 missing values generated)

{com}. 
. 
. * Self placement on government health insurance scale
. gen selfinsure = VCF0806
{txt}(25,364 missing values generated)

{com}. replace selfinsure = . if selfinsure == 0
{txt}(4,718 real changes made, 4,718 to missing)

{com}. replace selfinsure = . if selfinsure == 9
{txt}(3,018 real changes made, 3,018 to missing)

{com}. 
. 
. * Party placement on government health insurance scale
. gen deminsure = VCF0508
{txt}(38,341 missing values generated)

{com}. replace deminsure = . if deminsure == 0
{txt}(3,236 real changes made, 3,236 to missing)

{com}. replace deminsure = . if deminsure >= 8
{txt}(2,485 real changes made, 2,485 to missing)

{com}. 
. gen repinsure = VCF0509
{txt}(38,341 missing values generated)

{com}. replace repinsure = . if repinsure == 0
{txt}(3,241 real changes made, 3,241 to missing)

{com}. replace repinsure = . if repinsure >= 8
{txt}(2,622 real changes made, 2,622 to missing)

{com}. 
. gen pdiffinsure = abs(deminsure - repinsure)
{txt}(44,347 missing values generated)

{com}. 
. 
. * Perceived polarization
. alpha pdiffinsure pdiffdefense pdiffservice pdiffaid ///
>         pdiffjobs partyideodiff, gen(perceivepol)

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} 1.368159
{txt}Number of items in the scale:{col 34}{res}        6
{txt}Scale reliability coefficient:{col 34}{res}   0.8589
{txt}
{com}. 
.         
. * Issue extremity
. gen issex1 = abs(selfdefense - 4)
{txt}(34,028 missing values generated)

{com}. gen issex2 = abs(selfservice - 4)       
{txt}(32,955 missing values generated)

{com}. gen issex3 = abs(selfaid - 4)   
{txt}(21,265 missing values generated)

{com}. gen issex4 = abs(selfinsure - 4)        
{txt}(33,100 missing values generated)

{com}. gen issex5 = abs(selfjobs - 4)  
{txt}(24,794 missing values generated)

{com}.         
. alpha issex1-issex5, gen(issextreme)    

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} .3001629
{txt}Number of items in the scale:{col 34}{res}        5
{txt}Scale reliability coefficient:{col 34}{res}   0.6191
{txt}
{com}.         
. 
. * Self placement on abortion scale
. gen selfabort = VCF0806
{txt}(25,364 missing values generated)

{com}. replace selfabort = . if selfabort < 1
{txt}(4,718 real changes made, 4,718 to missing)

{com}. replace selfabort = . if selfabort > 4
{txt}(10,536 real changes made, 10,536 to missing)

{com}. label define abortlab 1 "Never be permitted" 4 "Always permitted"
{txt}
{com}. label values selfabort abortlab
{txt}
{com}. 
. 
. * Do whatever is necessary for equal opportunity
. * Note: This variable is reverse coded so that higher values indicate
. * more conservative attitudes
. gen equalopp = VCF9013 - 1
{txt}(29,972 missing values generated)

{com}. replace equalopp = . if equalopp > 4
{txt}(2,644 real changes made, 2,644 to missing)

{com}. label define equalopportunity 0 "0 Agree strongly" 1 "1 Agree somewhat" ///
>         2 "2 Neither agree nor disagree" 3 "3 Disagree somewhat" ///
>         4 "4 Disagree strongly"
{txt}
{com}. label values equalopp equalopportunity
{txt}
{com}. 
. 
. * Have gone too far pushing equal rights
. * Note: This variable is reverse coded so that higher values indicate
. * more conservative attitudes
. gen equalrights = VCF9014
{txt}(29,871 missing values generated)

{com}. replace equalrights = . if equalrights > 5
{txt}(2,614 real changes made, 2,614 to missing)

{com}. recode equalrights (5=0) (4=1) (3=2) (2=3) (1=4)
{txt}(equalrights: 20509 changes made)

{com}. label define equalrightspush 0 "0 Disagree strongly" 1 "1 Disagree somewhat" /// 
>         2 "2 Neither agree nor disagree" 3 "3 Agree somewhat" 4 "4 Agree strongly"
{txt}
{com}. label values equalrights equalrightspush
{txt}
{com}. 
. 
. * Big problem is not giving everyone an equal chance*
. gen equalchance = VCF9015 - 1
{txt}(31,152 missing values generated)

{com}. replace equalchance = . if equalchance > 4
{txt}(2,586 real changes made, 2,586 to missing)

{com}. label define equalchances 0 "0 Agree strongly" 1 "1 Agree somewhat" ///
>         2 "2 Neither agree nor disagree" 3 "3 Disagree somewhat" ///
>         4 "4 Disagree strongly"
{txt}
{com}. label values equalchance equalchances
{txt}
{com}. 
. 
. * Better off if we worried less about equality
. * Note: This variable is reverse coded so that higher values indicate
. * more conservative attitudes
. gen lessequal = VCF9017
{txt}(29,972 missing values generated)

{com}. replace lessequal = . if lessequal > 5
{txt}(2,770 real changes made, 2,770 to missing)

{com}. recode lessequal (5=0) (4=1) (3=2) (2=3) (1=4)
{txt}(lessequal: 20252 changes made)

{com}. label define lessequality 0 "0 Disagree strongly" 1 "1 Disagree somewhat" /// 
>         2 "2 Neither agree nor disagree" 3 "3 Agree somewhat" 4 "4 Agree strongly"
{txt}
{com}. label values lessequal lessequality
{txt}
{com}. 
. 
. * Not that big of a problem if people have more of a chance
. * Note: This variable is reverse coded so that higher values indicate
. * more conservative attitudes ???????
. gen unequal = VCF9016
{txt}(29,972 missing values generated)

{com}. replace unequal = . if unequal > 5
{txt}(2,813 real changes made, 2,813 to missing)

{com}. recode unequal (5=0) (4=1) (3=2) (2=3) (1=4)
{txt}(unequal: 20209 changes made)

{com}. label define unequalchance 0 "0 Disagree strongly" 1 "1 Disagree somewhat" ///
>         2 "2 Neither agree nor disagree" 3 "3 Agree somewhat" 4 "4 Agree strongly"
{txt}
{com}. label values unequal unequalchance
{txt}
{com}. 
. 
. * Many fewer problems if people were treated equally
. gen fewer = VCF9018 - 1
{txt}(28,691 missing values generated)

{com}. replace fewer = . if fewer > 4
{txt}(2,735 real changes made, 2,735 to missing)

{com}. label define fewerproblems 0 "0 Agree strongly" 1 "1 Agree somewhat" ///
>         2 "2 Neither agree nor disagree" 3 "3 Disagree somewhat" ///
>         4 "4 Disagree strongly"
{txt}
{com}. label values fewer fewerproblems
{txt}
{com}. 
. 
. * Adjusting views of moral behavior
. gen changing = VCF0852 - 1
{txt}(30,948 missing values generated)

{com}. replace changing = . if changing > 4
{txt}(2,718 real changes made, 2,718 to missing)

{com}. label define changingmorals 0 "Agree strongly" 1 "Agree somewhat" ///
>         2 "Neither agree nor disagree" 3 "Disagree somewhat" 4 "Disagree strongly"
{txt}
{com}. label values changing changingmorals
{txt}
{com}.  
.  
. * Newer lifestyles contributing to a breakdown in society
. * Note: This variable is reverse coded so that higher values indicate*
. * more conservative attitudes
. gen lifestyles = VCF0851
{txt}(30,948 missing values generated)

{com}. replace lifestyles = . if lifestyles > 5
{txt}(2,811 real changes made, 2,811 to missing)

{com}. recode lifestyles (5=0) (4=1) (3=2) (2=3) (1=4)
{txt}(lifestyles: 19235 changes made)

{com}. label define lifestylesnew 0 "0 Disagree strongly" 1 "1 Disagree somewhat" /// 
>         2 "2 Neither agree nor disagree"  3 "3 Agree somewhat" 4 "4 Agree strongly"
{txt}
{com}. label values lifestyles lifestylesnew
{txt}
{com}. 
. 
. * Tolerant of people who choose to live according to their own moral standards
. gen standards = VCF0854 - 1
{txt}(30,948 missing values generated)

{com}. replace standards = . if standards > 4
{txt}(2,756 real changes made, 2,756 to missing)

{com}. label define standardsown 0 "0 Agree strongly" 1 "1 Agree somewhat" ///
>         2 "2 Neither agree nor disagree" 3 "3 Disagree somewhat" ///
>         4 "4 Disagree strongly"
{txt}
{com}. label values standards standardsown
{txt}
{com}.  
.  
. * More emphasis on traditional family ties*
. * Note: This variable is reverse coded so that higher values indicate
. * more conservative attitudes
. gen family = VCF0853
{txt}(30,948 missing values generated)

{com}. replace family = . if family > 5
{txt}(2,720 real changes made, 2,720 to missing)

{com}. recode family (5=0) (4=1) (3=2) (2=3) (1=4)
{txt}(family: 19326 changes made)

{com}. label define familyties 0 "0 Disagree strongly" 1 "1 Disagree somewhat" /// 
>         2 "2 Neither agree nor disagree"  3 "3 Agree somewhat" 4 "4 Agree strongly"
{txt}
{com}. label values family familyties
{txt}
{com}. 
. 
. * Creating values scales
. alpha equalopp equalrights equalchance lessequal unequal fewer changing ///
>         lifestyles standards family, detail item generate(values) casewise

{txt}Test scale = mean(unstandardized items)

                                                            average
                             item-test     item-rest       interitem
Item         {c |}  Obs  Sign   correlation   correlation     covariance      alpha
{hline 13}{c +}{hline 65}
equalopp{col 14}{c |}{res}{col 16}16496{col 24}+{col 31} 0.4395{col 45} 0.3132{col 59} .3183787{col 73} 0.6866
{txt}equalrights{col 14}{c |}{res}{col 16}16496{col 24}+{col 31} 0.6142{col 45} 0.4527{col 59} .2680883{col 73} 0.6603
{txt}equalchance{col 14}{c |}{res}{col 16}16496{col 24}+{col 31} 0.5475{col 45} 0.3798{col 59} .2861794{col 73} 0.6747
{txt}lessequal{col 14}{c |}{res}{col 16}16496{col 24}+{col 31} 0.5862{col 45} 0.4192{col 59} .2753363{col 73} 0.6671
{txt}unequal{col 14}{c |}{res}{col 16}16496{col 24}+{col 31} 0.5098{col 45} 0.3432{col 59} .2962261{col 73} 0.6812
{txt}fewer{col 14}{c |}{res}{col 16}16496{col 24}+{col 31} 0.5290{col 45} 0.3746{col 59} .2934683{col 73} 0.6758
{txt}changing{col 14}{c |}{res}{col 16}16496{col 24}+{col 31} 0.4933{col 45} 0.2997{col 59}  .297759{col 73} 0.6910
{txt}lifestyles{col 14}{c |}{res}{col 16}16496{col 24}+{col 31} 0.4968{col 45} 0.3382{col 59} .3006025{col 73} 0.6820
{txt}standards{col 14}{c |}{res}{col 16}16496{col 24}+{col 31} 0.5219{col 45} 0.3635{col 59} .2944823{col 73} 0.6777
{txt}family{col 14}{c |}{res}{col 16}16496{col 24}+{col 31} 0.4580{col 45} 0.3190{col 59} .3124644{col 73} 0.6852
{txt}{hline 13}{c +}{hline 65}
Test scale{col 14}{c |}{res}{col 59} .2942985{col 73} 0.7010
{txt}{hline 13}{c BT}{hline 65}

Interitem covariances (obs=16496 in all pairs)

                equalopp  equalrights  equalchance    lessequal      unequal
   equalopp  {res}     0.8615
{txt}equalrights  {res}     0.2124       1.9148
{txt}equalchance  {res}     0.3822       0.3533       1.7454
{txt}  lessequal  {res}     0.2303       0.9296       0.3140       1.8892
{txt}    unequal  {res}     0.1987       0.6098       0.2838       0.7475       1.6039
{txt}      fewer  {res}     0.3765       0.3318       0.7742       0.2850       0.2776
{txt}   changing  {res}     0.1934       0.1666       0.3818       0.0711      -0.0056
{txt} lifestyles  {res}     0.0204       0.3983       0.0778       0.3175       0.2034
{txt}  standards  {res}     0.1693       0.2802       0.2748       0.1748       0.1043
{txt}     family  {res}    -0.0014       0.3103       0.0991       0.2615       0.1597

             {txt}      fewer     changing   lifestyles    standards       family
      fewer  {res}     1.4535
{txt}   changing  {res}     0.3213       2.0329
{txt} lifestyles  {res}     0.0450       0.3839       1.4362
{txt}  standards  {res}     0.2568       0.7045       0.4025       1.5011
{txt}     family  {res}     0.0104       0.3072       0.5730       0.2749       1.0584
{txt}
{com}. 
. alpha equalopp equalrights equalchance lessequal unequal fewer, ///
>         detail item generate(equality) casewise

{txt}Test scale = mean(unstandardized items)

                                                            average
                             item-test     item-rest       interitem
Item         {c |}  Obs  Sign   correlation   correlation     covariance      alpha
{hline 13}{c +}{hline 65}
equalopp{col 14}{c |}{res}{col 16}18820{col 24}+{col 31} 0.5081{col 45} 0.3392{col 59} .4808341{col 73} 0.6564
{txt}equalrights{col 14}{c |}{res}{col 16}18820{col 24}+{col 31} 0.6675{col 45} 0.4449{col 59} .3744032{col 73} 0.6198
{txt}equalchance{col 14}{c |}{res}{col 16}18820{col 24}+{col 31} 0.6156{col 45} 0.3861{col 59} .4089595{col 73} 0.6412
{txt}lessequal{col 14}{c |}{res}{col 16}18820{col 24}+{col 31} 0.6761{col 45} 0.4589{col 59} .3691694{col 73} 0.6143
{txt}unequal{col 14}{c |}{res}{col 16}18820{col 24}+{col 31} 0.6138{col 45} 0.3979{col 59} .4118326{col 73} 0.6365
{txt}fewer{col 14}{c |}{res}{col 16}18820{col 24}+{col 31} 0.6137{col 45} 0.4102{col 59} .4142091{col 73} 0.6325
{txt}{hline 13}{c +}{hline 65}
Test scale{col 14}{c |}{res}{col 59} .4099013{col 73} 0.6755
{txt}{hline 13}{c BT}{hline 65}

Interitem covariances (obs=18820 in all pairs)

                equalopp  equalrights  equalchance    lessequal      unequal
   equalopp  {res}     0.8524
{txt}equalrights  {res}     0.2089       1.9343
{txt}equalchance  {res}     0.3655       0.3542       1.7839
{txt}  lessequal  {res}     0.2198       0.9137       0.3059       1.9076
{txt}    unequal  {res}     0.1850       0.5854       0.2673       0.7363       1.6094
{txt}      fewer  {res}     0.3609       0.3422       0.7661       0.2811       0.2562

             {txt}      fewer
      fewer  {res}     1.4613
{txt}
{com}. 
. alpha changing lifestyles standards family, detail item ///
>         generate(morality) casewise

{txt}Test scale = mean(unstandardized items)

                                                            average
                             item-test     item-rest       interitem
Item         {c |}  Obs  Sign   correlation   correlation     covariance      alpha
{hline 13}{c +}{hline 65}
changing{col 14}{c |}{res}{col 16}19068{col 24}+{col 31} 0.7076{col 45} 0.3753{col 59} .4335072{col 73} 0.5849
{txt}lifestyles{col 14}{c |}{res}{col 16}19068{col 24}+{col 31} 0.6991{col 45} 0.4298{col 59} .4276876{col 73} 0.5348
{txt}standards{col 14}{c |}{res}{col 16}19068{col 24}+{col 31} 0.6961{col 45} 0.4224{col 59} .4321471{col 73} 0.5400
{txt}family{col 14}{c |}{res}{col 16}19068{col 24}+{col 31} 0.6460{col 45} 0.4044{col 59} .4965483{col 73} 0.5589
{txt}{hline 13}{c +}{hline 65}
Test scale{col 14}{c |}{res}{col 59} .4474725{col 73} 0.6237
{txt}{hline 13}{c BT}{hline 65}

Interitem covariances (obs=19068 in all pairs)

              changing  lifestyles   standards      family
  changing  {res}    2.0395
{txt}lifestyles  {res}    0.3835      1.4775
{txt} standards  {res}    0.6937      0.4124      1.5001
{txt}    family  {res}    0.3071      0.6058      0.2823      1.0922
{txt}
{com}.         
. gen valuediff = equality - morality     
{txt}(36,498 missing values generated)

{com}. gen absvaluediff = abs(valuediff)
{txt}(36,498 missing values generated)

{com}. 
. 
. * Value "polarization", or extremity
. gen valuepold = .
{txt}(52,994 missing values generated)

{com}. gen valuepolr = .       
{txt}(52,994 missing values generated)

{com}.         
. levelsof year, local(lev)       
{res}{txt}1948 1952 1954 1956 1958 1960 1962 1964 1966 1968 1970 1972 1974 1976 1978 1980 1982 1984 1986 1988 1990 1992 1994 1996 1998 2000 2002 2004 2008 2012 2016

{com}.         
. foreach i of local lev {c -(}
{txt}  2{com}. sum values if values != . & rep == 1 & year == `i', meanonly
{txt}  3{com}. replace valuepold = values - r(mean) if values != . & rep == 0 & year == `i'
{txt}  4{com}. sum values if values != . & rep == 0 & year == `i', meanonly
{txt}  5{com}. replace valuepolr = values - r(mean) if values != . & rep == 1 & year == `i'
{txt}  6{com}. {c )-}
{txt}(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(0 real changes made)
(1,021 real changes made)
(734 real changes made)
(800 real changes made)
(690 real changes made)
(463 real changes made)
(359 real changes made)
(1,069 real changes made)
(825 real changes made)
(793 real changes made)
(729 real changes made)
(786 real changes made)
(585 real changes made)
(0 real changes made)
(0 real changes made)
(733 real changes made)
(590 real changes made)
(0 real changes made)
(0 real changes made)
(495 real changes made)
(440 real changes made)
(1,207 real changes made)
(593 real changes made)
(1,134 real changes made)
(520 real changes made)
(0 real changes made)
(0 real changes made)

{com}. 
. replace valuepold = abs(valuepold)
{txt}(7,086 real changes made)

{com}. replace valuepolr = abs(valuepolr)
{txt}(1,155 real changes made)

{com}. egen valuepol = rowmax(valuepold valuepolr)
{txt}(38428 missing values generated)

{com}. 
. 
. * Vote choice
. gen prezvote = VCF0704
{txt}(20,724 missing values generated)

{com}. replace prezvote = . if prezvote == 0
{txt}(11,579 real changes made, 11,579 to missing)

{com}. label define prezvotelab 1 "Democrat" 2 "Republican" 3 "Third party"
{txt}
{com}. label values prez prezvotelab
{txt}
{com}. 
. gen votedum = prezvote - 1
{txt}(32,303 missing values generated)

{com}. replace votedum = . if votedum == 2
{txt}(580 real changes made, 580 to missing)

{com}. 
. gen yesvote = VCF0702 - 1
{txt}(1,139 missing values generated)

{com}. replace yesvote = . if yesvote < 0 | yesvote > 1
{txt}(3,680 real changes made, 3,680 to missing)

{com}. 
. gen congvote = VCF0707
{txt}(1,801 missing values generated)

{com}. replace congvote = . if congvote == 0
{txt}(24,394 real changes made, 24,394 to missing)

{com}. label define votelab 1 "Democrat" 2 "Republican"
{txt}
{com}. label values congvote votelab
{txt}
{com}. 
. gen senvote = VCF0708
{txt}(3,098 missing values generated)

{com}. replace senvote = . if senvote == 0
{txt}(31,495 real changes made, 31,495 to missing)

{com}. label values senvote votelab
{txt}
{com}. 
. 
. * Level of information, as assessed by interviewer
. gen info = VCF0050a
{txt}(26,311 missing values generated)

{com}. replace info = . if info == 9
{txt}(290 real changes made, 290 to missing)

{com}. recode info (1=5) (2=4) (3=3) (4=2) (5=1)
{txt}(info: 17425 changes made)

{com}. label define infolab 1 "Very low" 2 "Fairly Low" 3 "Average" ///
>         4 "Fairly High" 5 "Very High"
{txt}
{com}. label values info infolab
{txt}
{com}. 
. 
. * Interest in campaigns (1 Hardly at all - 4 Most of the time)
. gen interest = VCF0310
{txt}(3,376 missing values generated)

{com}. replace interest = . if VCF0310 == 0
{txt}(1,464 real changes made, 1,464 to missing)

{com}. replace interest = . if VCF0310 == 9
{txt}(15 real changes made, 15 to missing)

{com}. label var interest "Interest in the the Campaigns"
{txt}
{com}. label define interestlab 1 "Not much interested" ///
>         2 "Somewhat interested" 3 "Very much interested"
{txt}
{com}. label values interest interestlab
{txt}
{com}. 
. 
. * External efficacy index (0 Least efficacious - 100 Most efficacious)
. gen efficacy = VCF0648
{txt}(5,554 missing values generated)

{com}. replace efficacy = . if efficacy == 999
{txt}(4,848 real changes made, 4,848 to missing)

{com}. 
. 
. * Trust in government index (0 Least trusting - 100 Most trusting)
. gen trust = VCF0656
{txt}(7,940 missing values generated)

{com}. replace trust = . if trust == 999
{txt}(3,996 real changes made, 3,996 to missing)

{com}. 
. 
. * Participation index (1 Lowest - 6 Highest)
. gen participate = VCF0723
{txt}(7,948 missing values generated)

{com}. replace participate = . if participate == 0
{txt}(3,531 real changes made, 3,531 to missing)

{com}. 
. 
. * Media exposure index (1 No media - 5 All four media)
. gen media = VCF0728
{txt}(25,492 missing values generated)

{com}. replace media = . if media == 0
{txt}(4,724 real changes made, 4,724 to missing)

{com}. 
. 
. * Sophistication scale
. factor info interest participate, factor(1) ipf
{txt}(obs=22,023)

Factor analysis/correlation{col 50}Number of obs    = {res}    22,023
{col 5}{txt}Method: iterated principal factors{col 50}Retained factors =   {res}       1
{col 5}{txt}Rotation: (unrotated){col 50}Number of params =   {res}       3

{txt}{col 5}{hline 13}{c TT}{hline 60}
{col 5}     Factor  {c |} {ralign 12:Eigenvalue}   Difference        Proportion   Cumulative
{col 5}{hline 13}{c +}{hline 60}
{col 5}{ralign 11:Factor1}  {c |}{res}      1.10092      1.10077            1.0000       1.0000
{txt}{col 5}{ralign 11:Factor2}  {c |}{res}      0.00015      0.00031            0.0001       1.0001
{txt}{col 5}{ralign 11:Factor3}  {c |}{res}     -0.00016            .           -0.0001       1.0000
{txt}{col 5}{hline 13}{c BT}{hline 60}
{col 5}LR test: independent vs. saturated:  chi2({res}3{txt})  ={res} 7916.02{txt} Prob>chi2 ={res} 0.0000

{txt}Factor loadings (pattern matrix) and unique variances

{space 4}{hline 13}{c  TT}{hline 10}{c  TT}{hline 14}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor1}{space 1}{c |}{space 1}{ralign 12:Uniqueness}{space 1}
{space 4}{hline 13}{c   +}{hline 10}{c   +}{hline 14}
{space 4}{space 0}{ralign 12:info}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.6227}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.6122}}}{space 1}
{space 4}{space 0}{ralign 12:interest}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.6891}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.5252}}}{space 1}
{space 4}{space 0}{ralign 12:participate}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.4881}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.7617}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}{c  BT}{hline 14}

{com}. predict sophscale1
{txt}(regression scoring assumed)

{p 0 0 2}Scoring coefficients (method = regression){p_end}

{space 4}{hline 13}{c  TT}{hline 10}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor1}{space 1}
{space 4}{hline 13}{c   +}{hline 10}
{space 4}{space 0}{ralign 12:info}{space 1}{c |}{space 1}{ralign 8:{res:{sf: 0.35691}}}{space 1}
{space 4}{space 0}{ralign 12:interest}{space 1}{c |}{space 1}{ralign 8:{res:{sf: 0.46026}}}{space 1}
{space 4}{space 0}{ralign 12:participate}{space 1}{c |}{space 1}{ralign 8:{res:{sf: 0.22483}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}


{com}. 
. factor interest participate if year == 1978, factor(1) ipf
{txt}(obs=2,288)

Factor analysis/correlation{col 50}Number of obs    = {res}     2,288
{col 5}{txt}Method: iterated principal factors{col 50}Retained factors =   {res}       1
{col 5}{txt}Rotation: (unrotated){col 50}Number of params =   {res}       1

{txt}{col 5}{hline 13}{c TT}{hline 60}
{col 5}     Factor  {c |} {ralign 12:Eigenvalue}   Difference        Proportion   Cumulative
{col 5}{hline 13}{c +}{hline 60}
{col 5}{ralign 11:Factor1}  {c |}{res}      0.72116      0.72128            1.0002       1.0002
{txt}{col 5}{ralign 11:Factor2}  {c |}{res}     -0.00011            .           -0.0002       1.0000
{txt}{col 5}{hline 13}{c BT}{hline 60}
{col 5}LR test: independent vs. saturated:  chi2({res}1{txt})  ={res}  318.58{txt} Prob>chi2 ={res} 0.0000

{txt}Factor loadings (pattern matrix) and unique variances

{space 4}{hline 13}{c  TT}{hline 10}{c  TT}{hline 14}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor1}{space 1}{c |}{space 1}{ralign 12:Uniqueness}{space 1}
{space 4}{hline 13}{c   +}{hline 10}{c   +}{hline 14}
{space 4}{space 0}{ralign 12:interest}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.6005}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.6394}}}{space 1}
{space 4}{space 0}{ralign 12:participate}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.6005}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.6394}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}{c  BT}{hline 14}

{com}. predict sophscale2
{txt}(regression scoring assumed)

{p 0 0 2}Scoring coefficients (method = regression){p_end}

{space 4}{hline 13}{c  TT}{hline 10}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor1}{space 1}
{space 4}{hline 13}{c   +}{hline 10}
{space 4}{space 0}{ralign 12:interest}{space 1}{c |}{space 1}{ralign 8:{res:{sf: 0.44133}}}{space 1}
{space 4}{space 0}{ralign 12:participate}{space 1}{c |}{space 1}{ralign 8:{res:{sf: 0.44133}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}


{com}. 
. factor interest participate if year == 1982, factor(1) ipf
{txt}(obs=1,405)

Factor analysis/correlation{col 50}Number of obs    = {res}     1,405
{col 5}{txt}Method: iterated principal factors{col 50}Retained factors =   {res}       1
{col 5}{txt}Rotation: (unrotated){col 50}Number of params =   {res}       1

{txt}{col 5}{hline 13}{c TT}{hline 60}
{col 5}     Factor  {c |} {ralign 12:Eigenvalue}   Difference        Proportion   Cumulative
{col 5}{hline 13}{c +}{hline 60}
{col 5}{ralign 11:Factor1}  {c |}{res}      0.72973      0.72984            1.0002       1.0002
{txt}{col 5}{ralign 11:Factor2}  {c |}{res}     -0.00011            .           -0.0002       1.0000
{txt}{col 5}{hline 13}{c BT}{hline 60}
{col 5}LR test: independent vs. saturated:  chi2({res}1{txt})  ={res}  200.57{txt} Prob>chi2 ={res} 0.0000

{txt}Factor loadings (pattern matrix) and unique variances

{space 4}{hline 13}{c  TT}{hline 10}{c  TT}{hline 14}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor1}{space 1}{c |}{space 1}{ralign 12:Uniqueness}{space 1}
{space 4}{hline 13}{c   +}{hline 10}{c   +}{hline 14}
{space 4}{space 0}{ralign 12:interest}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.6040}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.6351}}}{space 1}
{space 4}{space 0}{ralign 12:participate}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.6040}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.6351}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}{c  BT}{hline 14}

{com}. predict sophscale3
{txt}(regression scoring assumed)

{p 0 0 2}Scoring coefficients (method = regression){p_end}

{space 4}{hline 13}{c  TT}{hline 10}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor1}{space 1}
{space 4}{hline 13}{c   +}{hline 10}
{space 4}{space 0}{ralign 12:interest}{space 1}{c |}{space 1}{ralign 8:{res:{sf: 0.44255}}}{space 1}
{space 4}{space 0}{ralign 12:participate}{space 1}{c |}{space 1}{ralign 8:{res:{sf: 0.44255}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}


{com}. 
. factor interest participate if year == 1990, factor(1) ipf
{txt}(obs=1,975)

Factor analysis/correlation{col 50}Number of obs    = {res}     1,975
{col 5}{txt}Method: iterated principal factors{col 50}Retained factors =   {res}       1
{col 5}{txt}Rotation: (unrotated){col 50}Number of params =   {res}       1

{txt}{col 5}{hline 13}{c TT}{hline 60}
{col 5}     Factor  {c |} {ralign 12:Eigenvalue}   Difference        Proportion   Cumulative
{col 5}{hline 13}{c +}{hline 60}
{col 5}{ralign 11:Factor1}  {c |}{res}      0.67897      0.67908            1.0002       1.0002
{txt}{col 5}{ralign 11:Factor2}  {c |}{res}     -0.00011            .           -0.0002       1.0000
{txt}{col 5}{hline 13}{c BT}{hline 60}
{col 5}LR test: independent vs. saturated:  chi2({res}1{txt})  ={res}  241.74{txt} Prob>chi2 ={res} 0.0000

{txt}Factor loadings (pattern matrix) and unique variances

{space 4}{hline 13}{c  TT}{hline 10}{c  TT}{hline 14}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor1}{space 1}{c |}{space 1}{ralign 12:Uniqueness}{space 1}
{space 4}{hline 13}{c   +}{hline 10}{c   +}{hline 14}
{space 4}{space 0}{ralign 12:interest}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.5827}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.6605}}}{space 1}
{space 4}{space 0}{ralign 12:participate}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.5827}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.6605}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}{c  BT}{hline 14}

{com}. predict sophscale4
{txt}(regression scoring assumed)

{p 0 0 2}Scoring coefficients (method = regression){p_end}

{space 4}{hline 13}{c  TT}{hline 10}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor1}{space 1}
{space 4}{hline 13}{c   +}{hline 10}
{space 4}{space 0}{ralign 12:interest}{space 1}{c |}{space 1}{ralign 8:{res:{sf: 0.43497}}}{space 1}
{space 4}{space 0}{ralign 12:participate}{space 1}{c |}{space 1}{ralign 8:{res:{sf: 0.43497}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}


{com}. 
. factor interest participate if year == 1994, factor(1) ipf
{txt}(obs=1,768)

Factor analysis/correlation{col 50}Number of obs    = {res}     1,768
{col 5}{txt}Method: iterated principal factors{col 50}Retained factors =   {res}       1
{col 5}{txt}Rotation: (unrotated){col 50}Number of params =   {res}       1

{txt}{col 5}{hline 13}{c TT}{hline 60}
{col 5}     Factor  {c |} {ralign 12:Eigenvalue}   Difference        Proportion   Cumulative
{col 5}{hline 13}{c +}{hline 60}
{col 5}{ralign 11:Factor1}  {c |}{res}      0.64175      0.64186            1.0002       1.0002
{txt}{col 5}{ralign 11:Factor2}  {c |}{res}     -0.00011            .           -0.0002       1.0000
{txt}{col 5}{hline 13}{c BT}{hline 60}
{col 5}LR test: independent vs. saturated:  chi2({res}1{txt})  ={res}  192.01{txt} Prob>chi2 ={res} 0.0000

{txt}Factor loadings (pattern matrix) and unique variances

{space 4}{hline 13}{c  TT}{hline 10}{c  TT}{hline 14}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor1}{space 1}{c |}{space 1}{ralign 12:Uniqueness}{space 1}
{space 4}{hline 13}{c   +}{hline 10}{c   +}{hline 14}
{space 4}{space 0}{ralign 12:interest}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.5665}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.6791}}}{space 1}
{space 4}{space 0}{ralign 12:participate}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.5665}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.6791}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}{c  BT}{hline 14}

{com}. predict sophscale5
{txt}(regression scoring assumed)

{p 0 0 2}Scoring coefficients (method = regression){p_end}

{space 4}{hline 13}{c  TT}{hline 10}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor1}{space 1}
{space 4}{hline 13}{c   +}{hline 10}
{space 4}{space 0}{ralign 12:interest}{space 1}{c |}{space 1}{ralign 8:{res:{sf: 0.42883}}}{space 1}
{space 4}{space 0}{ralign 12:participate}{space 1}{c |}{space 1}{ralign 8:{res:{sf: 0.42883}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}


{com}. 
. egen sophistication = rowmax(sophscale*)
{txt}(14258 missing values generated)

{com}. 
. 
. * Elite polarization
. gen housepol = 0.492 if year == 1972
{txt}(50,289 missing values generated)

{com}. replace housepol = 0.499 if year == 1976
{txt}(2,248 real changes made)

{com}. replace housepol = 0.489 if year == 1978
{txt}(2,304 real changes made)

{com}. replace housepol = 0.514 if year == 1980
{txt}(1,614 real changes made)

{com}. replace housepol = 0.540 if year == 1982
{txt}(1,418 real changes made)

{com}. replace housepol = 0.573 if year == 1984
{txt}(2,257 real changes made)

{com}. replace housepol = 0.618 if year == 1988
{txt}(2,040 real changes made)

{com}. replace housepol = 0.634 if year == 1990
{txt}(1,980 real changes made)

{com}. replace housepol = 0.664 if year == 1992
{txt}(2,485 real changes made)

{com}. replace housepol = 0.727 if year == 1994
{txt}(1,795 real changes made)

{com}. replace housepol = 0.818 if year == 1996
{txt}(1,714 real changes made)

{com}. replace housepol = 0.877 if year == 2000
{txt}(1,807 real changes made)

{com}. replace housepol = 0.942 if year == 2004
{txt}(1,212 real changes made)

{com}. replace housepol = 1.091 if year == 2012
{txt}(2,054 real changes made)

{com}. 
. 
. keep caseid-housepol
{txt}
{com}. 
. 
. * Recode variables to range 0-1
. 
. levelsof year, local(lev)       
{res}{txt}1948 1952 1954 1956 1958 1960 1962 1964 1966 1968 1970 1972 1974 1976 1978 1980 1982 1984 1986 1988 1990 1992 1994 1996 1998 2000 2002 2004 2008 2012 2016

{com}.         
. foreach i of local lev {c -(}
{txt}  2{com}. foreach v of var ideostrength pidstrength demlike-repdislike ///
> ideothermdiff partydifftherm diffcandtherm valuepol perceivepol ///
> edu age sophistication income housepol pid ideo sorting ///
> trust efficacy participate interest affectpol issextreme{c -(} 
{txt}  3{com}.         su `v', meanonly 
{txt}  4{com}.         gen `v'2 = (`v' - r(min))/(r(max) - r(min)) 
{txt}  5{com}. {c )-}
{txt}  6{com}. {c )-}
{txt}(27,815 missing values generated)
(7,621 missing values generated)
(20,238 missing values generated)
(20,238 missing values generated)
(20,238 missing values generated)
(20,238 missing values generated)
(18,698 missing values generated)
(24,821 missing values generated)
(28,868 missing values generated)
(38,428 missing values generated)
(20,283 missing values generated)
(1,164 missing values generated)
(2,243 missing values generated)
(14,258 missing values generated)
(5,260 missing values generated)
(25,361 missing values generated)
(1,665 missing values generated)
(26,937 missing values generated)
(31,099 missing values generated)
(11,936 missing values generated)
(10,402 missing values generated)
(11,479 missing values generated)
(4,855 missing values generated)
(11,152 missing values generated)
(17,788 missing values generated)
{err}variable {bf}ideostrength2{sf} already defined
{txt}{search r(110), local:r(110);}

end of do-file

{search r(110), local:r(110);}

{com}. do "/var/folders/xb/ddtsf7g93xd57f7hhtnm9lyc0000gp/T//SD60023.000000"
{txt}
{com}. 
. ********************************************************************************
. 
. *** Cumulative file analyses ***
. 
. ****
. ** Figure 1 (saved in "tertiles, prez years.csv")
. ****
. 
. * Generate tertiles
. drop if year < 1972
{txt}(15,316 observations deleted)

{com}. xtile atertile = affectpol2, nquantiles(3)
{txt}
{com}. xtile ptertile = perceivepol2, nquantiles(3)
{txt}
{com}. 
. * Affective by perceived, Figure 1
. bysort year: sum affectpol2 if ptertile == 1

{txt}{hline}
-> year = 1972

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        900    .2857904    .2088737          0          1

{txt}{hline}
-> year = 1974

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        510    .1868607    .2134239          0          1

{txt}{hline}
-> year = 1976

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        770    .2039162    .1703204          0          1

{txt}{hline}
-> year = 1978

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        886    .1555119    .1979297          0          1

{txt}{hline}
-> year = 1980

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        496    .2144579    .1576826          0   .8969072

{txt}{hline}
-> year = 1982

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        370    .1615074    .1593302          0          1

{txt}{hline}
-> year = 1984

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        623    .1878644    .1485851          0          1

{txt}{hline}
-> year = 1986

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        577    .1759188    .1608731          0          1

{txt}{hline}
-> year = 1988

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        685    .2126395    .1623635          0          1

{txt}{hline}
-> year = 1990

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        719    .1592848    .1488731          0   .8092784

{txt}{hline}
-> year = 1992

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        743    .1837285    .1323644          0   .7972509

{txt}{hline}
-> year = 1994

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        576    .1596506    .1486315          0   .9020619

{txt}{hline}
-> year = 1996

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        454     .198446    .1535184          0   .8213058

{txt}{hline}
-> year = 1998

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        373    .2053426    .1780502          0          1

{txt}{hline}
-> year = 2000

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        369    .2048631    .1589441          0          1

{txt}{hline}
-> year = 2002

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}          0

{txt}{hline}
-> year = 2004

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        314    .2221857    .1677154          0   .8762887

{txt}{hline}
-> year = 2008

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        509    .2149387    .1783083          0          1

{txt}{hline}
-> year = 2012

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        386    .2278635    .1655953          0          1

{txt}{hline}
-> year = 2016

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        209    .2591707    .2103801          0   .9587629

{txt}
{com}. bysort year: sum affectpol2 if ptertile == 2

{txt}{hline}
-> year = 1972

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        788    .3650832    .2290163          0          1

{txt}{hline}
-> year = 1974

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        399    .2670852    .2305824          0          1

{txt}{hline}
-> year = 1976

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        668    .2926647    .1881732          0          1

{txt}{hline}
-> year = 1978

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        564    .2510053    .2151456          0          1

{txt}{hline}
-> year = 1980

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        594     .291159    .1794624          0          1

{txt}{hline}
-> year = 1982

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        536    .2628481    .2033354          0          1

{txt}{hline}
-> year = 1984

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        856    .3167895    .1933249          0          1

{txt}{hline}
-> year = 1986

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        853    .2632069      .19557          0          1

{txt}{hline}
-> year = 1988

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        757    .3375551    .1947107          0          1

{txt}{hline}
-> year = 1990

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        656    .2696049    .2052389          0          1

{txt}{hline}
-> year = 1992

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        933    .3067646    .1829805          0   .9226804

{txt}{hline}
-> year = 1994

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        602    .2752338    .1968035          0          1

{txt}{hline}
-> year = 1996

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        775    .3230196    .1831733          0   .8969072

{txt}{hline}
-> year = 1998

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        487    .2732594    .2012715          0          1

{txt}{hline}
-> year = 2000

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        596    .3006239    .1908396          0   .9243986

{txt}{hline}
-> year = 2002

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}          0

{txt}{hline}
-> year = 2004

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        478    .3480028    .2050275          0          1

{txt}{hline}
-> year = 2008

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        707    .3400336    .2014637          0          1

{txt}{hline}
-> year = 2012

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        597    .3521445    .1994203          0          1

{txt}{hline}
-> year = 2016

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        339    .4049509    .2112409          0   .9587629

{txt}
{com}. bysort year: sum affectpol2 if ptertile == 3

{txt}{hline}
-> year = 1972

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        288    .4602842    .2580554          0          1

{txt}{hline}
-> year = 1974

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        160    .3644974    .2817609          0          1

{txt}{hline}
-> year = 1976

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        384    .4235261    .2504748          0          1

{txt}{hline}
-> year = 1978

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        262    .3909656    .3004781          0          1

{txt}{hline}
-> year = 1980

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        273    .4251853    .2403879          0          1

{txt}{hline}
-> year = 1982

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        278    .3990395    .2489118          0          1

{txt}{hline}
-> year = 1984

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        501    .4468931    .2479051          0          1

{txt}{hline}
-> year = 1986

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        461    .3831541    .2442907          0          1

{txt}{hline}
-> year = 1988

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        353    .4665021    .2451093          0          1

{txt}{hline}
-> year = 1990

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        310    .3664948    .2448585          0          1

{txt}{hline}
-> year = 1992

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        585     .397853    .2306315          0          1

{txt}{hline}
-> year = 1994

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        492    .4189087    .2532049          0          1

{txt}{hline}
-> year = 1996

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        410     .438027     .242059          0          1

{txt}{hline}
-> year = 1998

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        317     .366955    .2371376          0          1

{txt}{hline}
-> year = 2000

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        558    .3699516    .2302106          0          1

{txt}{hline}
-> year = 2002

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}          0

{txt}{hline}
-> year = 2004

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        381    .4747589    .2426516          0          1

{txt}{hline}
-> year = 2008

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        880    .4077339     .232801          0          1

{txt}{hline}
-> year = 2012

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        996     .486118    .2429044          0          1

{txt}{hline}
-> year = 2016

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        553    .4515389    .2372229          0          1

{txt}
{com}. 
. * Standardized coefficients
. bysort ptertile: reg affectpol2 c.year, beta

{txt}{hline}
-> ptertile = 1

      Source {c |}       SS           df       MS      Number of obs   ={res}    10,469
{txt}{hline 13}{c +}{hline 34}   F(1, 10467)     = {res}     0.04
{txt}       Model {c |} {res} .001111298         1  .001111298   {txt}Prob > F        ={res}    0.8486
{txt}    Residual {c |} {res} 319.133752    10,467  .030489515   {txt}R-squared       ={res}    0.0000
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}   -0.0001
{txt}       Total {c |} {res} 319.134863    10,468  .030486708   {txt}Root MSE        =   {res} .17461

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  affectpol2{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 67}        Beta
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}year {c |}{col 14}{res}{space 2}-.0000281{col 26}{space 2} .0001469{col 37}{space 1}   -0.19{col 46}{space 3}0.849{col 67}{space 3}-.0018661
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .2548506{col 26}{space 2} .2921073{col 37}{space 1}    0.87{col 46}{space 3}0.383{col 67}{space 3}        .
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{hline}
-> ptertile = 2

      Source {c |}       SS           df       MS      Number of obs   ={res}    12,185
{txt}{hline 13}{c +}{hline 34}   F(1, 12183)     = {res}    74.26
{txt}       Model {c |} {res}  3.0327387         1   3.0327387   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 497.561559    12,183  .040840643   {txt}R-squared       ={res}    0.0061
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0060
{txt}       Total {c |} {res} 500.594297    12,184  .041086203   {txt}Root MSE        =   {res} .20209

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  affectpol2{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 67}        Beta
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}year {c |}{col 14}{res}{space 2} .0013424{col 26}{space 2} .0001558{col 37}{space 1}    8.62{col 46}{space 3}0.000{col 67}{space 3} .0778349
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2.364689{col 26}{space 2} .3100545{col 37}{space 1}   -7.63{col 46}{space 3}0.000{col 67}{space 3}        .
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{hline}
-> ptertile = 3

      Source {c |}       SS           df       MS      Number of obs   ={res}     8,442
{txt}{hline 13}{c +}{hline 34}   F(1, 8440)      = {res}    23.98
{txt}       Model {c |} {res}   1.462974         1    1.462974   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 514.911063     8,440   .06100842   {txt}R-squared       ={res}    0.0028
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0027
{txt}       Total {c |} {res} 516.374037     8,441   .06117451   {txt}Root MSE        =   {res}   .247

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  affectpol2{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 67}        Beta
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}year {c |}{col 14}{res}{space 2} .0010214{col 26}{space 2} .0002086{col 37}{space 1}    4.90{col 46}{space 3}0.000{col 67}{space 3} .0532275
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-1.614259{col 26}{space 2} .4161716{col 37}{space 1}   -3.88{col 46}{space 3}0.000{col 67}{space 3}        .
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{hline}
-> ptertile = .

      Source {c |}       SS           df       MS      Number of obs   ={res}     5,151
{txt}{hline 13}{c +}{hline 34}   F(1, 5149)      = {res}    12.60
{txt}       Model {c |} {res} .761038876         1  .761038876   {txt}Prob > F        ={res}    0.0004
{txt}    Residual {c |} {res} 310.942498     5,149   .06038891   {txt}R-squared       ={res}    0.0024
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0022
{txt}       Total {c |} {res} 311.703537     5,150  .060524959   {txt}Root MSE        =   {res} .24574

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  affectpol2{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 67}        Beta
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}year {c |}{col 14}{res}{space 2}-.0009702{col 26}{space 2} .0002733{col 37}{space 1}   -3.55{col 46}{space 3}0.000{col 67}{space 3} -.049412
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}  2.16381{col 26}{space 2} .5437444{col 37}{space 1}    3.98{col 46}{space 3}0.000{col 67}{space 3}        .
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. * Perceived by affective, Figure 1
. bysort year: sum perceivepol2 if atertile == 1

{txt}{hline}
-> year = 1972

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        512    .2359212    .2078961          0          1

{txt}{hline}
-> year = 1974

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        497    .2432372    .2150194          0          1

{txt}{hline}
-> year = 1976

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        645    .2364126    .1979843          0          1

{txt}{hline}
-> year = 1978

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        864    .2093139    .1992806          0          1

{txt}{hline}
-> year = 1980

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        437    .2625858     .193835          0          1

{txt}{hline}
-> year = 1982

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        512    .2864366    .1922346          0          1

{txt}{hline}
-> year = 1984

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        597    .2660618    .1971658          0   .9666667

{txt}{hline}
-> year = 1986

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        771    .2975573    .2017939          0          1

{txt}{hline}
-> year = 1988

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        481    .2342227    .1786693          0   .7916667

{txt}{hline}
-> year = 1990

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        756    .2501286    .1980888          0          1

{txt}{hline}
-> year = 1992

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        715    .2757382    .2151039          0          1

{txt}{hline}
-> year = 1994

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        670    .2654022    .2211382          0          1

{txt}{hline}
-> year = 1996

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        442    .2801659    .2031047          0   .9444444

{txt}{hline}
-> year = 1998

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        439    .3177677    .2146745          0   .9166667

{txt}{hline}
-> year = 2000

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        442    .3387695    .2465441          0          1

{txt}{hline}
-> year = 2002

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}          0

{txt}{hline}
-> year = 2004

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        256    .2803385    .2044669          0   .9333333

{txt}{hline}
-> year = 2008

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        536    .3457711    .3006582          0          1

{txt}{hline}
-> year = 2012

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        366    .3692319    .2756203          0          1

{txt}{hline}
-> year = 2016

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        191    .3717278    .3044177          0          1

{txt}
{com}. bysort year: sum perceivepol2 if atertile == 2

{txt}{hline}
-> year = 1972

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        688    .2893451    .2019166          0          1

{txt}{hline}
-> year = 1974

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        315     .320194    .2247322          0          1

{txt}{hline}
-> year = 1976

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        659    .3474119    .2301791          0          1

{txt}{hline}
-> year = 1978

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        481    .3154597    .2016884          0          1

{txt}{hline}
-> year = 1980

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        514     .348222    .1835969          0          1

{txt}{hline}
-> year = 1982

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        371    .3797095    .1897295          0          1

{txt}{hline}
-> year = 1984

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        731    .3601155    .1892547          0   .9333333

{txt}{hline}
-> year = 1986

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        634    .3898528    .2015497          0          1

{txt}{hline}
-> year = 1988

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        703    .3184922    .1914998          0          1

{txt}{hline}
-> year = 1990

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        551    .3410214    .1979714          0   .9583333

{txt}{hline}
-> year = 1992

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        887    .3555681    .2004989          0          1

{txt}{hline}
-> year = 1994

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        539    .3761905     .206645          0   .9583333

{txt}{hline}
-> year = 1996

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        614    .3695259    .1869751          0          1

{txt}{hline}
-> year = 1998

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        420    .4115079     .207442          0          1

{txt}{hline}
-> year = 2000

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        589    .4147661     .217004          0          1

{txt}{hline}
-> year = 2002

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}          0

{txt}{hline}
-> year = 2004

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        422    .3584452    .2001437          0   .9666667

{txt}{hline}
-> year = 2008

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        730    .4570776    .2787762          0          1

{txt}{hline}
-> year = 2012

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        624    .4360087     .242159          0          1

{txt}{hline}
-> year = 2016

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        331    .4859013    .2865726          0          1

{txt}
{com}. bysort year: sum perceivepol2 if atertile == 3

{txt}{hline}
-> year = 1972

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        776    .3762529    .2380987          0          1

{txt}{hline}
-> year = 1974

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        257    .3864029    .2187565          0          1

{txt}{hline}
-> year = 1976

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        518    .4613095    .2499442          0          1

{txt}{hline}
-> year = 1978

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        367    .4213215    .2460215          0          1

{txt}{hline}
-> year = 1980

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        412    .4676713    .2165256          0          1

{txt}{hline}
-> year = 1982

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        301     .510742    .1988429          0          1

{txt}{hline}
-> year = 1984

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        652    .4969751     .194844          0          1

{txt}{hline}
-> year = 1986

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        486    .4894833    .2083757          0          1

{txt}{hline}
-> year = 1988

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        611    .4575605    .2029526          0          1

{txt}{hline}
-> year = 1990

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        378    .4590315    .2228224          0          1

{txt}{hline}
-> year = 1992

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        659     .508641    .1972488          0          1

{txt}{hline}
-> year = 1994

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        461    .5341106    .2097975          0          1

{txt}{hline}
-> year = 1996

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        583    .4955212    .1901382          0          1

{txt}{hline}
-> year = 1998

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        318    .4937107    .2332821          0          1

{txt}{hline}
-> year = 2000

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        492    .5167796    .2004775          0          1

{txt}{hline}
-> year = 2002

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}          0

{txt}{hline}
-> year = 2004

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        495    .5170595    .2070117          0          1

{txt}{hline}
-> year = 2008

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        830    .5909639    .2554696          0          1

{txt}{hline}
-> year = 2012

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        989    .6002275    .2226268          0          1

{txt}{hline}
-> year = 2016

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
perceivepol2 {c |}{res}        579    .6030512    .2341317          0          1

{txt}
{com}. 
. * Standardized coefficients
. bysort atertile: reg perceivepol2 year, beta

{txt}{hline}
-> atertile = 1

      Source {c |}       SS           df       MS      Number of obs   ={res}    10,129
{txt}{hline 13}{c +}{hline 34}   F(1, 10127)     = {res}   265.34
{txt}       Model {c |} {res} 12.5817387         1  12.5817387   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 480.191852    10,127  .047416989   {txt}R-squared       ={res}    0.0255
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0254
{txt}       Total {c |} {res} 492.773591    10,128   .04865458   {txt}Root MSE        =   {res} .21775

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}perceivepol2{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 67}        Beta
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}year {c |}{col 14}{res}{space 2} .0031419{col 26}{space 2} .0001929{col 37}{space 1}   16.29{col 46}{space 3}0.000{col 67}{space 3} .1597889
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-5.974599{col 26}{space 2} .3836211{col 37}{space 1}  -15.57{col 46}{space 3}0.000{col 67}{space 3}        .
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{hline}
-> atertile = 2

      Source {c |}       SS           df       MS      Number of obs   ={res}    10,803
{txt}{hline 13}{c +}{hline 34}   F(1, 10801)     = {res}   385.13
{txt}       Model {c |} {res} 17.7562531         1  17.7562531   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 497.980646    10,801   .04610505   {txt}R-squared       ={res}    0.0344
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0343
{txt}       Total {c |} {res}   515.7369    10,802  .047744575   {txt}Root MSE        =   {res} .21472

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}perceivepol2{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 67}        Beta
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}year {c |}{col 14}{res}{space 2} .0033595{col 26}{space 2} .0001712{col 37}{space 1}   19.62{col 46}{space 3}0.000{col 67}{space 3} .1855503
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} -6.31774{col 26}{space 2} .3408156{col 37}{space 1}  -18.54{col 46}{space 3}0.000{col 67}{space 3}        .
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{hline}
-> atertile = 3

      Source {c |}       SS           df       MS      Number of obs   ={res}    10,164
{txt}{hline 13}{c +}{hline 34}   F(1, 10162)     = {res}   763.87
{txt}       Model {c |} {res} 37.4330816         1  37.4330816   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res}  497.98218    10,162  .049004348   {txt}R-squared       ={res}    0.0699
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0698
{txt}       Total {c |} {res} 535.415262    10,163  .052682797   {txt}Root MSE        =   {res} .22137

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}perceivepol2{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 67}        Beta
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}year {c |}{col 14}{res}{space 2}  .004539{col 26}{space 2} .0001642{col 37}{space 1}   27.64{col 46}{space 3}0.000{col 67}{space 3} .2644128
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-8.542341{col 26}{space 2} .3272999{col 37}{space 1}  -26.10{col 46}{space 3}0.000{col 67}{space 3}        .
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{hline}
-> atertile = .

      Source {c |}       SS           df       MS      Number of obs   ={res}       373
{txt}{hline 13}{c +}{hline 34}   F(1, 371)       = {res}     0.35
{txt}       Model {c |} {res} .024006717         1  .024006717   {txt}Prob > F        ={res}    0.5528
{txt}    Residual {c |} {res} 25.2393803       371  .068030675   {txt}R-squared       ={res}    0.0010
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}   -0.0017
{txt}       Total {c |} {res}  25.263387       372  .067912331   {txt}Root MSE        =   {res} .26083

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}perceivepol2{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 67}        Beta
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}year {c |}{col 14}{res}{space 2} .0010024{col 26}{space 2} .0016875{col 37}{space 1}    0.59{col 46}{space 3}0.553{col 67}{space 3} .0308262
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-1.700323{col 26}{space 2} 3.341511{col 37}{space 1}   -0.51{col 46}{space 3}0.611{col 67}{space 3}        .
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. ****
. ** Figure 2 (saved in "polarization by info.dta")
. ****
. 
. * Generate knowledge variable
. gen know3 = 1 if info < 3
{txt}(31,878 missing values generated)

{com}. replace know3 = 2 if info == 3
{txt}(8,483 real changes made)

{com}. replace know3 = 3 if info > 3 & info < .
{txt}(10,568 real changes made)

{com}. drop if know3 == .
{txt}(12,827 observations deleted)

{com}. 
. * Collapse data
. bysort year know3: sum affectpol2

{txt}{hline}
-> year = 1972, know3 = 1

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        678    .3029225    .2564476          0          1

{txt}{hline}
-> year = 1972, know3 = 2

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}      1,001    .3364522    .2396368          0          1

{txt}{hline}
-> year = 1972, know3 = 3

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        907    .3808238    .2422769          0          1

{txt}{hline}
-> year = 1976, know3 = 1

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        595    .2431777    .2218767          0          1

{txt}{hline}
-> year = 1976, know3 = 2

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        756    .2652185    .2078753          0          1

{txt}{hline}
-> year = 1976, know3 = 3

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        778    .3084634    .2085278          0          1

{txt}{hline}
-> year = 1980, know3 = 1

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        406       .2562    .2234419          0          1

{txt}{hline}
-> year = 1980, know3 = 2

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        633    .2749467    .1999776          0          1

{txt}{hline}
-> year = 1980, know3 = 3

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        544     .320671    .1998808          0          1

{txt}{hline}
-> year = 1984, know3 = 1

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        599    .2353235    .2119023          0          1

{txt}{hline}
-> year = 1984, know3 = 2

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        778    .2958352    .2142995          0          1

{txt}{hline}
-> year = 1984, know3 = 3

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        812    .3494426    .2201808          0          1

{txt}{hline}
-> year = 1988, know3 = 1

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        594     .249731    .2110103          0          1

{txt}{hline}
-> year = 1988, know3 = 2

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        657    .3186121    .2189578          0          1

{txt}{hline}
-> year = 1988, know3 = 3

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        740    .3436101    .2170431          0          1

{txt}{hline}
-> year = 1992, know3 = 1

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        464    .2230307    .1925519          0          1

{txt}{hline}
-> year = 1992, know3 = 2

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        867    .2727817    .1924711          0          1

{txt}{hline}
-> year = 1992, know3 = 3

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}      1,122    .3214222     .204867          0          1

{txt}{hline}
-> year = 1996, know3 = 1

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        386    .2493813    .1913001          0          1

{txt}{hline}
-> year = 1996, know3 = 2

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        605    .3009031    .2063932          0   .9536083

{txt}{hline}
-> year = 1996, know3 = 3

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        670    .3641714    .2190184          0          1

{txt}{hline}
-> year = 2000, know3 = 1

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        425       .2317    .1982798          0          1

{txt}{hline}
-> year = 2000, know3 = 2

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        583    .2903161    .2107112          0          1

{txt}{hline}
-> year = 2000, know3 = 3

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        774    .3363058    .2115054          0          1

{txt}{hline}
-> year = 2002, know3 = 1

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}         87    .1203934    .1961064          0   .8969072

{txt}{hline}
-> year = 2002, know3 = 2

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        374    .1725564    .2281633          0          1

{txt}{hline}
-> year = 2002, know3 = 3

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        824    .2379016    .2441103          0          1

{txt}{hline}
-> year = 2004, know3 = 1

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        220    .2493049    .2173927          0          1

{txt}{hline}
-> year = 2004, know3 = 2

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        352    .3253329    .2127707          0          1

{txt}{hline}
-> year = 2004, know3 = 3

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        604    .4039308    .2309555          0          1

{txt}{hline}
-> year = 2008, know3 = 1

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        437    .2552116    .2236413          0          1

{txt}{hline}
-> year = 2008, know3 = 2

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        721    .3185009    .2220863          0          1

{txt}{hline}
-> year = 2008, know3 = 3

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}      1,132    .3739967    .2208311          0          1

{txt}{hline}
-> year = 2012, know3 = 1

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        392    .3084192    .2482021          0          1

{txt}{hline}
-> year = 2012, know3 = 2

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        721     .370574     .229742          0          1

{txt}{hline}
-> year = 2012, know3 = 3

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        913     .439552    .2352269          0          1

{txt}{hline}
-> year = 2016, know3 = 1

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        145    .2899988    .2219695          0          1

{txt}{hline}
-> year = 2016, know3 = 2

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        323    .3413552    .2279675          0   .9587629

{txt}{hline}
-> year = 2016, know3 = 3

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}affectpol2 {c |}{res}        634     .443906     .225104          0          1

{txt}
{com}. 
. collapse affectpol2 perceivepol2, by(year know3)
{txt}
{com}. 
. bysort know3: corr affectpol2 perceivepol2

{txt}{hline}
-> know3 = 1
(obs=12)

             {c |} affect~2 percei~2
{hline 13}{c +}{hline 18}
  affectpol2 {c |}{res}   1.0000
{txt}perceivepol2 {c |}{res}   0.5086   1.0000


{txt}{hline}
-> know3 = 2
(obs=12)

             {c |} affect~2 percei~2
{hline 13}{c +}{hline 18}
  affectpol2 {c |}{res}   1.0000
{txt}perceivepol2 {c |}{res}   0.5986   1.0000


{txt}{hline}
-> know3 = 3
(obs=12)

             {c |} affect~2 percei~2
{hline 13}{c +}{hline 18}
  affectpol2 {c |}{res}   1.0000
{txt}perceivepol2 {c |}{res}   0.6952   1.0000


{txt}
{com}. 
{txt}end of do-file

{com}. clear

. use "/Users/adamenders/Dropbox/Perceived vs. Affective Polarization/Data and Code/92-96 Panel/anes_mergedfile_1992to1997.dta"

. do "/var/folders/xb/ddtsf7g93xd57f7hhtnm9lyc0000gp/T//SD60023.000000"
{txt}
{com}. ********************************************************************************
. ********************************************************************************
. ********************************************************************************
. ********************************************************************************
. 
. ****
. ** Open ANES 1992-1996 Panel
. ****
. 
. set more off
{txt}
{com}. 
. * use "anes_mergedfile_1992to1997.dta"
. 
. ********************************************************************************
. 
. ****
. ** Data cleaning and recoding
. ****
. 
. * Case ID
. gen id92 = VID92 
{txt}(1,434 missing values generated)

{com}. gen id94 = VID94 
{txt}(644 missing values generated)

{com}. gen id96 = VID96
{txt}(725 missing values generated)

{com}. 
. keep if id92 != . & id96 != .
{txt}(1,842 observations deleted)

{com}. 
. 
. * Weight
. gen weight92 = V923009
{txt}
{com}. gen weight94 = V940005 
{txt}
{com}. gen weight96 = V960004
{txt}
{com}. 
. 
. * Party identification
. gen pid92 = V923634 - 3
{txt}
{com}. replace pid92 = . if pid92 > 3
{txt}(8 real changes made, 8 to missing)

{com}. gen pid94 = V940655 - 3
{txt}
{com}. replace pid94 = . if pid94 > 3
{txt}(3 real changes made, 3 to missing)

{com}. gen pid96 = V960420 - 3
{txt}
{com}. replace pid96 = . if pid96 > 3
{txt}(6 real changes made, 6 to missing)

{com}. 
. gen rep92 = 1 if pid92 > 0 & pid92 < .
{txt}(349 missing values generated)

{com}. replace rep92 = 0 if pid92 < 0
{txt}(278 real changes made)

{com}. gen rep94 = 1 if pid94 > 0 & pid94 < .
{txt}(329 missing values generated)

{com}. replace rep94 = 0 if pid94 < 0
{txt}(279 real changes made)

{com}. gen rep96 = 1 if pid96 > 0 & pid96 < .
{txt}(346 missing values generated)

{com}. replace rep96 = 0 if pid96 < 0
{txt}(298 real changes made)

{com}. 
. 
. * Party ID strength
. gen pidstrength92 = 3 if abs(pid92) == 3
{txt}(432 missing values generated)

{com}. replace pidstrength92 = 2 if abs(pid92) == 2
{txt}(185 real changes made)

{com}. replace pidstrength92 = 1 if abs(pid92) == 1
{txt}(176 real changes made)

{com}. replace pidstrength92 = 0 if abs(pid92) == 0
{txt}(63 real changes made)

{com}. 
. gen pidstrength94 = 3 if abs(pid94) == 3
{txt}(396 missing values generated)

{com}. replace pidstrength94 = 2 if abs(pid94) == 2
{txt}(192 real changes made)

{com}. replace pidstrength94 = 1 if abs(pid94) == 1
{txt}(154 real changes made)

{com}. replace pidstrength94 = 0 if abs(pid94) == 0
{txt}(47 real changes made)

{com}. 
. gen pidstrength96 = 3 if abs(pid96) == 3
{txt}(407 missing values generated)

{com}. replace pidstrength96 = 2 if abs(pid96) == 2
{txt}(208 real changes made)

{com}. replace pidstrength96 = 1 if abs(pid96) == 1
{txt}(151 real changes made)

{com}. replace pidstrength96 = 0 if abs(pid96) == 0
{txt}(42 real changes made)

{com}. 
. 
. * Ideology
. gen ideo92 = V923509 - 4
{txt}
{com}. replace ideo92 = . if abs(ideo92) > 3 
{txt}(122 real changes made, 122 to missing)

{com}. gen ideo94 = V940839 - 4
{txt}
{com}. replace ideo94 = . if abs(ideo94) > 3 
{txt}(95 real changes made, 95 to missing)

{com}. gen ideo96 = V960365 - 4
{txt}
{com}. replace ideo96 = . if abs(ideo96) > 3 
{txt}(101 real changes made, 101 to missing)

{com}. 
. gen conserv92 = 1 if ideo92 > 0 & ideo92 < .
{txt}(391 missing values generated)

{com}. replace conserv92 = 0 if ideo92 < 0
{txt}(132 real changes made)

{com}. gen conserv94 = 1 if ideo94 > 0 & ideo94 < .
{txt}(363 missing values generated)

{com}. replace conserv94 = 0 if ideo94 < 0
{txt}(123 real changes made)

{com}. gen conserv96 = 1 if ideo96 > 0 & ideo96 < .
{txt}(362 missing values generated)

{com}. replace conserv96 = 0 if ideo96 < 0
{txt}(132 real changes made)

{com}. 
. 
. * Ideological strength
. gen ideostrength92 = 3 if abs(ideo92) == 3
{txt}(561 missing values generated)

{com}. replace ideostrength92 = 2 if abs(ideo92) == 2
{txt}(145 real changes made)

{com}. replace ideostrength92 = 1 if abs(ideo92) == 1
{txt}(157 real changes made)

{com}. replace ideostrength92 = 0 if abs(ideo92) == 0
{txt}(137 real changes made)

{com}. 
. gen ideostrength94 = 3 if abs(ideo94) == 3
{txt}(570 missing values generated)

{com}. replace ideostrength94 = 2 if abs(ideo94) == 2
{txt}(166 real changes made)

{com}. replace ideostrength94 = 1 if abs(ideo94) == 1
{txt}(164 real changes made)

{com}. replace ideostrength94 = 0 if abs(ideo94) == 0
{txt}(145 real changes made)

{com}. 
. gen ideostrength96 = 3 if abs(ideo96) == 3
{txt}(573 missing values generated)

{com}. replace ideostrength96 = 2 if abs(ideo96) == 2
{txt}(158 real changes made)

{com}. replace ideostrength96 = 1 if abs(ideo96) == 1
{txt}(185 real changes made)

{com}. replace ideostrength96 = 0 if abs(ideo96) == 0
{txt}(129 real changes made)

{com}. 
. 
. * Sorting
. replace ideostrength92 = ideostrength92 + 1
{txt}(475 real changes made)

{com}. replace pidstrength92 = pidstrength92 + 1
{txt}(589 real changes made)

{com}. gen sorting92 = abs(pid92 - (-1 * ideo92)) * ideostrength92 * pidstrength92
{txt}(124 missing values generated)

{com}. 
. replace ideostrength94 = ideostrength94 + 1
{txt}(502 real changes made)

{com}. replace pidstrength94 = pidstrength94 + 1
{txt}(594 real changes made)

{com}. gen sorting94 = abs(pid94 - (-1 * ideo94)) * ideostrength94 * pidstrength94
{txt}(95 missing values generated)

{com}. 
. replace ideostrength96 = ideostrength96 + 1
{txt}(496 real changes made)

{com}. replace pidstrength96 = pidstrength96 + 1
{txt}(591 real changes made)

{com}. gen sorting96 = abs(pid96 - (-1 * ideo96)) * ideostrength96 * pidstrength96
{txt}(104 missing values generated)

{com}. 
. 
. * Education (ranges from 1-7)
. gen edu92 = V923908
{txt}
{com}. replace edu92 = . if edu92 >= 8
{txt}(20 real changes made, 20 to missing)

{com}. replace edu92 = . if edu92 < 1
{txt}(0 real changes made)

{com}. label define edulab 1 "8 grades or less" 2 "9-12 grades" 3 "High school" ///
>         4 "HS + non-academic training" 5 "Some college" 6 "BA" 7 "Advanced"
{txt}
{com}. label values edu edulab
{txt}
{com}. 
. 
. * Family income (1-24)
. gen income92 = V924104
{txt}
{com}. replace income92 = . if income > 24
{txt}(45 real changes made, 45 to missing)

{com}. 
. 
. * Race 
. gen race92 = V924202
{txt}
{com}. replace race92 = . if race92 == 9
{txt}(1 real change made, 1 to missing)

{com}. 
. gen white92 = 0
{txt}
{com}. replace white92 = 1 if race92 == 1
{txt}(500 real changes made)

{com}. 
. gen black92 = 0
{txt}
{com}. replace black92 = 1 if race92 == 2
{txt}(78 real changes made)

{com}. 
. 
. * Gender (1=female)
. gen female92 = V924201 - 1
{txt}
{com}. replace female92 = . if female92 < 0
{txt}(0 real changes made)

{com}. replace female92 = . if female92 > 1
{txt}(0 real changes made)

{com}. label define genderlab 0 "Male" 1 "Female"
{txt}
{com}. label values female92 genderlab
{txt}
{com}. 
. 
. * Age (number of years) 
. gen age92 = V923903
{txt}
{com}. replace age92 = . if age92 > 91
{txt}(0 real changes made)

{com}. replace age92 = . if age92 < 17
{txt}(0 real changes made)

{com}. 
. 
. * Region
. gen south92 = .
{txt}(597 missing values generated)

{com}. replace south92 = 0 
{txt}(597 real changes made)

{com}. replace south92 = 1 if V923014 == 3
{txt}(218 real changes made)

{com}. label define southern 0 "0 Non-South" 1 "1 South"
{txt}
{com}. label values south southern
{txt}
{com}. 
. 
. * Church attendance
. gen church92 = V923821
{txt}
{com}. replace church92 = . if church92 < 1
{txt}(137 real changes made, 137 to missing)

{com}. recode church92 (5=0) (4=1) (3=2) (2=3) (1=4)
{txt}(church92: 458 changes made)

{com}. 
. 
. * Interest in campaigns 
. gen interest92 = V925102
{txt}
{com}. replace interest92 = . if interest92 > 5
{txt}(2 real changes made, 2 to missing)

{com}. replace interest92 = . if interest92 < 1
{txt}(0 real changes made)

{com}. recode interest92 (1=3) (3=2) (5=1)
{txt}(interest92: 595 changes made)

{com}. label define interestlab 1 "Not much interested" ///
>         2 "Somewhat interested" 3 "Very much interested"
{txt}
{com}. label values interest interestlab
{txt}
{com}. 
. 
. * Interviewer information assessment
. gen info92 = V924205
{txt}
{com}. replace info92 = . if info92 > 9
{txt}(0 real changes made)

{com}. recode info92 (5=0) (4=1) (3=2) (2=3) (1=4)
{txt}(info92: 597 changes made)

{com}. 
. 
. * Party feeling thermometers
. gen reptherm92 = V923318
{txt}
{com}. replace reptherm92 = . if reptherm92 > 100
{txt}(22 real changes made, 22 to missing)

{com}. gen demtherm92 = V923317
{txt}
{com}. replace demtherm92 = . if demtherm92 > 100
{txt}(22 real changes made, 22 to missing)

{com}. gen partydifftherm92 = abs(demtherm92 - reptherm92)
{txt}(24 missing values generated)

{com}. 
. gen reptherm94 = V940302
{txt}
{com}. replace reptherm94 = . if reptherm94 > 100
{txt}(12 real changes made, 12 to missing)

{com}. gen demtherm94 = V940301
{txt}
{com}. replace demtherm94 = . if demtherm94 > 100
{txt}(8 real changes made, 8 to missing)

{com}. gen partydifftherm94 = abs(demtherm94 - reptherm94)
{txt}(12 missing values generated)

{com}. 
. gen reptherm96 = V960293
{txt}
{com}. replace reptherm96 = . if reptherm96 > 100
{txt}(13 real changes made, 13 to missing)

{com}. gen demtherm96 = V960292
{txt}
{com}. replace demtherm96 = . if demtherm96 > 100
{txt}(9 real changes made, 9 to missing)

{com}. gen partydifftherm96 = abs(demtherm96 - reptherm96)
{txt}(13 missing values generated)

{com}. 
. 
. * Candidate feeling thermometers
. gen rcandtherm92 = V923305
{txt}
{com}. replace rcandtherm92 = . if rcandtherm92 > 100
{txt}(7 real changes made, 7 to missing)

{com}. gen dcandtherm92 = V923306
{txt}
{com}. replace dcandtherm92 = . if dcandtherm92 > 100
{txt}(16 real changes made, 16 to missing)

{com}. gen diffcandtherm92 = abs(dcandtherm92 - rcandtherm92)
{txt}(19 missing values generated)

{com}. 
. gen rcandtherm96 = V960273
{txt}
{com}. replace rcandtherm96 = . if rcandtherm96 > 100
{txt}(10 real changes made, 10 to missing)

{com}. gen dcandtherm96 = V960272
{txt}
{com}. replace dcandtherm96 = . if dcandtherm96 > 100
{txt}(2 real changes made, 2 to missing)

{com}. gen diffcandtherm96 = abs(dcandtherm96 - rcandtherm96)
{txt}(11 missing values generated)

{com}. 
. 
. * Ideological group feeling thermometers
. gen contherm92 = V925319
{txt}
{com}. replace contherm92 = . if contherm92 > 100
{txt}(33 real changes made, 33 to missing)

{com}. gen libtherm92 = V925326
{txt}
{com}. replace libtherm92 = . if libtherm92 > 100
{txt}(28 real changes made, 28 to missing)

{com}. gen diffideotherm92 = abs(libtherm92 - contherm92)
{txt}(39 missing values generated)

{com}. 
. gen contherm94 = V940306
{txt}
{com}. replace contherm94 = . if contherm94 > 100
{txt}(28 real changes made, 28 to missing)

{com}. gen libtherm94 = V940311
{txt}
{com}. replace libtherm94 = . if libtherm94 > 100
{txt}(19 real changes made, 19 to missing)

{com}. gen diffideotherm94 = abs(libtherm94 - contherm94)
{txt}(32 missing values generated)

{com}. 
. gen contherm96 = V961031
{txt}
{com}. replace contherm96 = . if contherm96 > 100
{txt}(71 real changes made, 71 to missing)

{com}. gen libtherm96 = V961032
{txt}
{com}. replace libtherm96 = . if libtherm96 > 100
{txt}(71 real changes made, 71 to missing)

{com}. gen diffideotherm96 = abs(libtherm96 - contherm96)
{txt}(74 missing values generated)

{com}. 
. 
. * Affective polarization
. factor diffideotherm92 diffcandtherm92 partydifftherm92, ipf
{txt}(obs=538)

Factor analysis/correlation{col 50}Number of obs    = {res}       538
{col 5}{txt}Method: iterated principal factors{col 50}Retained factors =   {res}       2
{col 5}{txt}Rotation: (unrotated){col 50}Number of params =   {res}       3

{txt}{col 5}{hline 13}{c TT}{hline 60}
{col 5}     Factor  {c |} {ralign 12:Eigenvalue}   Difference        Proportion   Cumulative
{col 5}{hline 13}{c +}{hline 60}
{col 5}{ralign 11:Factor1}  {c |}{res}      1.40399      1.38431            0.9863       0.9863
{txt}{col 5}{ralign 11:Factor2}  {c |}{res}      0.01967      0.01981            0.0138       1.0001
{txt}{col 5}{ralign 11:Factor3}  {c |}{res}     -0.00013            .           -0.0001       1.0000
{txt}{col 5}{hline 13}{c BT}{hline 60}
{col 5}LR test: independent vs. saturated:  chi2({res}3{txt})  ={res}  328.63{txt} Prob>chi2 ={res} 0.0000

{txt}Factor loadings (pattern matrix) and unique variances

{space 4}{hline 13}{c  TT}{hline 10}{hline 10}{c  TT}{hline 14}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor1}{space 1}{space 1}{ralign 8:Factor2}{space 1}{c |}{space 1}{ralign 12:Uniqueness}{space 1}
{space 4}{hline 13}{c   +}{hline 10}{hline 10}{c   +}{hline 14}
{space 4}{space 0}{ralign 12:diffideot~92}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.4215}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.1235}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.8070}}}{space 1}
{space 4}{space 0}{ralign 12:diffcandt~92}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.7945}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0011}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.3688}}}{space 1}
{space 4}{space 0}{ralign 12:partydiff~92}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.7715}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0664}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.4005}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}{hline 10}{c  BT}{hline 14}

{com}. alpha diffideotherm92 diffcandtherm92 partydifftherm92, gen(affectpol92)

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} 259.8027
{txt}Number of items in the scale:{col 34}{res}        3
{txt}Scale reliability coefficient:{col 34}{res}   0.6884
{txt}
{com}. 
. factor diffideotherm96 diffcandtherm96 partydifftherm96, ipf
{txt}(obs=511)

Factor analysis/correlation{col 50}Number of obs    = {res}       511
{col 5}{txt}Method: iterated principal factors{col 50}Retained factors =   {res}       2
{col 5}{txt}Rotation: (unrotated){col 50}Number of params =   {res}       3

{txt}{col 5}{hline 13}{c TT}{hline 60}
{col 5}     Factor  {c |} {ralign 12:Eigenvalue}   Difference        Proportion   Cumulative
{col 5}{hline 13}{c +}{hline 60}
{col 5}{ralign 11:Factor1}  {c |}{res}      1.68544      1.65523            0.9825       0.9825
{txt}{col 5}{ralign 11:Factor2}  {c |}{res}      0.03021      0.03033            0.0176       1.0001
{txt}{col 5}{ralign 11:Factor3}  {c |}{res}     -0.00012            .           -0.0001       1.0000
{txt}{col 5}{hline 13}{c BT}{hline 60}
{col 5}LR test: independent vs. saturated:  chi2({res}3{txt})  ={res}  475.16{txt} Prob>chi2 ={res} 0.0000

{txt}Factor loadings (pattern matrix) and unique variances

{space 4}{hline 13}{c  TT}{hline 10}{hline 10}{c  TT}{hline 14}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor1}{space 1}{space 1}{ralign 8:Factor2}{space 1}{c |}{space 1}{ralign 12:Uniqueness}{space 1}
{space 4}{hline 13}{c   +}{hline 10}{hline 10}{c   +}{hline 14}
{space 4}{space 0}{ralign 12:diffideot~96}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.5294}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.1420}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.6995}}}{space 1}
{space 4}{space 0}{ralign 12:diffcandt~96}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.8123}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.1000}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.3302}}}{space 1}
{space 4}{space 0}{ralign 12:partydiff~96}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.8633}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0070}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.2546}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}{hline 10}{c  BT}{hline 14}

{com}. alpha diffideotherm96 diffcandtherm96 partydifftherm96, gen(affectpol96)

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} 339.1357
{txt}Number of items in the scale:{col 34}{res}        3
{txt}Scale reliability coefficient:{col 34}{res}   0.7683
{txt}
{com}. 
. 
. * Party ideology
. gen repideo92 = V923517
{txt}
{com}. replace repideo92 = . if repideo92 < 1
{txt}(28 real changes made, 28 to missing)

{com}. replace repideo92 = . if repideo92 > 7
{txt}(71 real changes made, 71 to missing)

{com}. gen demideo92 = V923518
{txt}
{com}. replace demideo92 = . if demideo92 < 1
{txt}(28 real changes made, 28 to missing)

{com}. replace demideo92 = . if demideo92 > 7
{txt}(65 real changes made, 65 to missing)

{com}. gen pdiffideo92 = abs(repideo92 - demideo92)
{txt}(101 missing values generated)

{com}. 
. gen repideo96 = V960380
{txt}
{com}. replace repideo96 = . if repideo96 < 1
{txt}(15 real changes made, 15 to missing)

{com}. replace repideo96 = . if repideo96 > 7
{txt}(24 real changes made, 24 to missing)

{com}. gen demideo96 = V960379
{txt}
{com}. replace demideo96 = . if demideo96 < 1
{txt}(15 real changes made, 15 to missing)

{com}. replace demideo96 = . if demideo96 > 7
{txt}(22 real changes made, 22 to missing)

{com}. gen pdiffideo96 = abs(repideo96 - demideo96)
{txt}(44 missing values generated)

{com}. 
. 
. * Government spending and services
. gen selfservice92 = V923701
{txt}
{com}. replace selfservice92 = . if selfservice92 < 1
{txt}(76 real changes made, 76 to missing)

{com}. replace selfservice92 = . if selfservice92 >= 8
{txt}(3 real changes made, 3 to missing)

{com}. recode selfservice92 (1=3) (2=2) (3=1) (4=0) (5=-1) (6=-2) (7=-3)
{txt}(selfservice92: 456 changes made)

{com}. label values selfservice92 servicelab
{txt}
{com}. 
. gen repservice92 = V923702
{txt}
{com}. replace repservice92 = . if repservice92 < 1
{txt}(79 real changes made, 79 to missing)

{com}. replace repservice92 = . if repservice92 >= 8
{txt}(30 real changes made, 30 to missing)

{com}. recode repservice92 (1=3) (2=2) (3=1) (4=0) (5=-1) (6=-2) (7=-3)
{txt}(repservice92: 375 changes made)

{com}. 
. gen demservice92 = V923703
{txt}
{com}. replace demservice92 = . if demservice92 < 1
{txt}(79 real changes made, 79 to missing)

{com}. replace demservice92 = . if demservice92 >= 8
{txt}(40 real changes made, 40 to missing)

{com}. recode demservice92 (1=3) (2=2) (3=1) (4=0) (5=-1) (6=-2) (7=-3)
{txt}(demservice92: 456 changes made)

{com}. 
. gen pdiffservice92 = abs(repservice92 - demservice92)
{txt}(125 missing values generated)

{com}. 
. 
. gen selfservice96 = V960450
{txt}
{com}. replace selfservice96 = . if selfservice96 < 1
{txt}(67 real changes made, 67 to missing)

{com}. replace selfservice96 = . if selfservice96 >= 8
{txt}(3 real changes made, 3 to missing)

{com}. recode selfservice96 (1=3) (2=2) (3=1) (4=0) (5=-1) (6=-2) (7=-3)
{txt}(selfservice96: 454 changes made)

{com}. 
. gen repservice96 = V960455
{txt}
{com}. replace repservice96 = . if repservice96 < 1
{txt}(0 real changes made)

{com}. replace repservice96 = . if repservice96 >= 8
{txt}(49 real changes made, 49 to missing)

{com}. recode repservice96 (1=3) (2=2) (3=1) (4=0) (5=-1) (6=-2) (7=-3)
{txt}(repservice96: 404 changes made)

{com}. 
. gen demservice96 = V960453
{txt}
{com}. replace demservice96 = . if demservice96 < 1
{txt}(0 real changes made)

{com}. replace demservice96 = . if demservice96 >= 8
{txt}(24 real changes made, 24 to missing)

{com}. recode demservice96 (1=3) (2=2) (3=1) (4=0) (5=-1) (6=-2) (7=-3)
{txt}(demservice96: 558 changes made)

{com}. 
. gen pdiffservice96 = abs(repservice96 - demservice96)
{txt}(54 missing values generated)

{com}. 
. 
. * Defense spending
. gen selfdefense92 = V923707
{txt}
{com}. replace selfdefense92 = . if selfdefense92 < 1
{txt}(56 real changes made, 56 to missing)

{com}. replace selfdefense92 = . if selfdefense92 >= 8
{txt}(4 real changes made, 4 to missing)

{com}. recode selfdefense92 (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(selfdefense92: 537 changes made)

{com}. label define defenselab -3 "Greatly decrease defense spending" ///
>         3 "Greatly increase defense spending"
{txt}
{com}. label values selfdefense92 defenselab
{txt}
{com}. 
. gen repdefense92 = V923708
{txt}
{com}. replace repdefense92 = . if repdefense92 < 1
{txt}(60 real changes made, 60 to missing)

{com}. replace repdefense92 = . if repdefense92 >= 8
{txt}(19 real changes made, 19 to missing)

{com}. recode repdefense92 (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(repdefense92: 518 changes made)

{com}. 
. gen demdefense92 = V923709
{txt}
{com}. replace demdefense92 = . if demdefense92 < 1
{txt}(60 real changes made, 60 to missing)

{com}. replace demdefense92 = . if demdefense92 >= 8
{txt}(69 real changes made, 69 to missing)

{com}. recode demdefense92 (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(demdefense92: 468 changes made)

{com}. 
. gen pdiffdefense92 = abs(repdefense92 - demdefense92)
{txt}(130 missing values generated)

{com}. 
. 
. gen selfdefense96 = V960463
{txt}
{com}. replace selfdefense96 = . if selfdefense96 < 1
{txt}(62 real changes made, 62 to missing)

{com}. replace selfdefense96 = . if selfdefense96 >= 8
{txt}(2 real changes made, 2 to missing)

{com}. recode selfdefense96 (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(selfdefense96: 533 changes made)

{com}. 
. gen repdefense96 = V960469
{txt}
{com}. replace repdefense96 = . if repdefense96 < 1
{txt}(0 real changes made)

{com}. replace repdefense96 = . if repdefense96 >= 8
{txt}(69 real changes made, 69 to missing)

{com}. recode repdefense96 (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(repdefense96: 528 changes made)

{com}. 
. gen demdefense96 = V960466
{txt}
{com}. replace demdefense96 = . if demdefense96 < 1
{txt}(0 real changes made)

{com}. replace demdefense96 = . if demdefense96 >= 8
{txt}(36 real changes made, 36 to missing)

{com}. recode demdefense96 (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(demdefense96: 561 changes made)

{com}. 
. gen pdiffdefense96 = abs(repdefense96 - demdefense96)
{txt}(73 missing values generated)

{com}. 
. 
. * Health insurance
. gen selfinsure92 = V923716
{txt}
{com}. replace selfinsure92 = . if selfinsure92 < 1
{txt}(63 real changes made, 63 to missing)

{com}. replace selfinsure92 = . if selfinsure92 > 7
{txt}(12 real changes made, 12 to missing)

{com}. recode selfinsure92 (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(selfinsure92: 522 changes made)

{com}. label define insurelab -3 "Government insurance plan" 3 "Private insurance plan"
{txt}
{com}. label values selfinsure92 insurelab
{txt}
{com}. 
. 
. gen selfinsure96 = V960479
{txt}
{com}. replace selfinsure96 = . if selfinsure96 < 1
{txt}(52 real changes made, 52 to missing)

{com}. replace selfinsure96 = . if selfinsure96 > 7
{txt}(7 real changes made, 7 to missing)

{com}. recode selfinsure96 (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(selfinsure96: 538 changes made)

{com}. 
. gen repinsure96 = V960481
{txt}
{com}. replace repinsure96 = . if repinsure96 < 1
{txt}(0 real changes made)

{com}. replace repinsure96 = . if repinsure96 > 7
{txt}(80 real changes made, 80 to missing)

{com}. recode repinsure96 (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(repinsure96: 517 changes made)

{com}. 
. gen deminsure96 = V960480
{txt}
{com}. replace deminsure96 = . if deminsure96 < 1
{txt}(0 real changes made)

{com}. replace deminsure96 = . if deminsure96 > 7
{txt}(40 real changes made, 40 to missing)

{com}. recode deminsure96 (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(deminsure96: 557 changes made)

{com}. 
. gen pdiffinsure96 = abs(repinsure96 - deminsure96)
{txt}(89 missing values generated)

{com}. 
. 
. * Guarenteed jobs
. gen selfjobs92 = V923718
{txt}
{com}. replace selfjobs92 = . if selfjobs92 < 1
{txt}(50 real changes made, 50 to missing)

{com}. replace selfjobs92 = . if selfjobs92 >= 8
{txt}(5 real changes made, 5 to missing)

{com}. recode selfjobs92 (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(selfjobs92: 542 changes made)

{com}. label define jobslab -3 "Government see to job and good standard of living" ///
>         3 "Government let each person get ahead on his own"
{txt}
{com}. label values selfjobs92 jobslab
{txt}
{com}. 
. gen repjobs92 = V923719
{txt}
{com}. replace repjobs92 = . if repjobs92 < 1
{txt}(2 real changes made, 2 to missing)

{com}. replace repjobs92 = . if repjobs92 >= 8
{txt}(55 real changes made, 55 to missing)

{com}. recode repjobs92 (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(repjobs92: 540 changes made)

{com}. 
. gen demjobs92 = V923720
{txt}
{com}. replace demjobs92 = . if demjobs92 < 1
{txt}(2 real changes made, 2 to missing)

{com}. replace demjobs92 = . if demjobs92 >= 8
{txt}(83 real changes made, 83 to missing)

{com}. recode demjobs92 (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(demjobs92: 512 changes made)

{com}. 
. gen pdiffjobs92 = abs(repjobs92 - demjobs92)
{txt}(93 missing values generated)

{com}. 
. 
. gen selfjobs96 = V960483
{txt}
{com}. replace selfjobs96 = . if selfjobs96 < 1
{txt}(44 real changes made, 44 to missing)

{com}. replace selfjobs96 = . if selfjobs96 >= 8
{txt}(3 real changes made, 3 to missing)

{com}. recode selfjobs96 (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(selfjobs96: 550 changes made)

{com}. 
. gen repjobs96 = V960485
{txt}
{com}. replace repjobs96 = . if repjobs96 < 1
{txt}(0 real changes made)

{com}. replace repjobs96 = . if repjobs96 >= 8
{txt}(60 real changes made, 60 to missing)

{com}. recode repjobs96 (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(repjobs96: 537 changes made)

{com}. 
. gen demjobs96 = V960484
{txt}
{com}. replace demjobs96 = . if demjobs96 < 1
{txt}(0 real changes made)

{com}. replace demjobs96 = . if demjobs96 >= 8
{txt}(44 real changes made, 44 to missing)

{com}. recode demjobs96 (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(demjobs96: 553 changes made)

{com}. 
. gen pdiffjobs96 = abs(repjobs96 - demjobs96)
{txt}(65 missing values generated)

{com}. 
. 
. * Aid to blacks
. gen selfaid92 = V923724
{txt}
{com}. replace selfaid92 = . if selfaid92 == 0
{txt}(44 real changes made, 44 to missing)

{com}. replace selfaid92 = . if selfaid92 >= 8
{txt}(8 real changes made, 8 to missing)

{com}. recode selfaid92 (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(selfaid92: 545 changes made)

{com}. label define aidlab -3 "Government should help minority groups" ///
>         3 "Minority groups should help themselves"
{txt}
{com}. label values selfaid92 aidlab
{txt}
{com}. 
. 
. gen selfaid96 = V960487
{txt}
{com}. replace selfaid96 = . if selfaid96 == 0
{txt}(47 real changes made, 47 to missing)

{com}. replace selfaid96 = . if selfaid96 >= 8
{txt}(2 real changes made, 2 to missing)

{com}. recode selfaid96 (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(selfaid96: 548 changes made)

{com}. 
. gen repaid96 = V960492
{txt}
{com}. replace repaid96 = . if repaid96 == 0
{txt}(0 real changes made)

{com}. replace repaid96 = . if repaid96 >= 8
{txt}(82 real changes made, 82 to missing)

{com}. recode repaid96 (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(repaid96: 515 changes made)

{com}. 
. gen demaid96 = V960490
{txt}
{com}. replace demaid96 = . if demaid96 == 0
{txt}(0 real changes made)

{com}. replace demaid96 = . if demaid96 >= 8
{txt}(57 real changes made, 57 to missing)

{com}. recode demaid96 (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}(demaid96: 540 changes made)

{com}. 
. gen pdiffaid96 = abs(repaid96 - demaid96)
{txt}(87 missing values generated)

{com}. 
. 
. * Perceived polarization
. factor pdiffideo92 pdiffservice92 pdiffdefense92 ///
>         pdiffjobs92, ipf
{txt}(obs=359)

Factor analysis/correlation{col 50}Number of obs    = {res}       359
{col 5}{txt}Method: iterated principal factors{col 50}Retained factors =   {res}       3
{col 5}{txt}Rotation: (unrotated){col 50}Number of params =   {res}       6

{txt}{col 5}{hline 13}{c TT}{hline 60}
{col 5}     Factor  {c |} {ralign 12:Eigenvalue}   Difference        Proportion   Cumulative
{col 5}{hline 13}{c +}{hline 60}
{col 5}{ralign 11:Factor1}  {c |}{res}      1.49491      1.47709            0.9804       0.9804
{txt}{col 5}{ralign 11:Factor2}  {c |}{res}      0.01782      0.00568            0.0117       0.9921
{txt}{col 5}{ralign 11:Factor3}  {c |}{res}      0.01215      0.01224            0.0080       1.0001
{txt}{col 5}{ralign 11:Factor4}  {c |}{res}     -0.00010            .           -0.0001       1.0000
{txt}{col 5}{hline 13}{c BT}{hline 60}
{col 5}LR test: independent vs. saturated:  chi2({res}6{txt})  ={res}  235.78{txt} Prob>chi2 ={res} 0.0000

{txt}Factor loadings (pattern matrix) and unique variances

{space 4}{hline 13}{c  TT}{hline 10}{hline 10}{hline 10}{c  TT}{hline 14}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor1}{space 1}{space 1}{ralign 8:Factor2}{space 1}{space 1}{ralign 8:Factor3}{space 1}{c |}{space 1}{ralign 12:Uniqueness}{space 1}
{space 4}{hline 13}{c   +}{hline 10}{hline 10}{hline 10}{c   +}{hline 14}
{space 4}{space 0}{ralign 12:pdiffideo92}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.4411}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.1162}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0141}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.7917}}}{space 1}
{space 4}{space 0}{ralign 12:pdiffserv~92}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.7587}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0055}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0216}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.4238}}}{space 1}
{space 4}{space 0}{ralign 12:pdiffdefe~92}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.4586}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0409}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0961}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.7788}}}{space 1}
{space 4}{space 0}{ralign 12:pdiffjobs92}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.7172}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0511}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0473}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.4808}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}{hline 10}{hline 10}{c  BT}{hline 14}

{com}. alpha pdiffideo92 pdiffservice92 pdiffdefense92 ///
>         pdiffjobs92, gen(ppol92)

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} .7439592
{txt}Number of items in the scale:{col 34}{res}        4
{txt}Scale reliability coefficient:{col 34}{res}   0.6803
{txt}
{com}. 
. factor pdiffideo96 pdiffjobs96 pdiffdefense96 ///
>         pdiffservice96, ipf     
{txt}(obs=462)

Factor analysis/correlation{col 50}Number of obs    = {res}       462
{col 5}{txt}Method: iterated principal factors{col 50}Retained factors =   {res}       3
{col 5}{txt}Rotation: (unrotated){col 50}Number of params =   {res}       6

{txt}{col 5}{hline 13}{c TT}{hline 60}
{col 5}     Factor  {c |} {ralign 12:Eigenvalue}   Difference        Proportion   Cumulative
{col 5}{hline 13}{c +}{hline 60}
{col 5}{ralign 11:Factor1}  {c |}{res}      1.93615      1.92246            0.9907       0.9907
{txt}{col 5}{ralign 11:Factor2}  {c |}{res}      0.01369      0.00918            0.0070       0.9977
{txt}{col 5}{ralign 11:Factor3}  {c |}{res}      0.00452      0.00461            0.0023       1.0000
{txt}{col 5}{ralign 11:Factor4}  {c |}{res}     -0.00009            .           -0.0000       1.0000
{txt}{col 5}{hline 13}{c BT}{hline 60}
{col 5}LR test: independent vs. saturated:  chi2({res}6{txt})  ={res}  523.20{txt} Prob>chi2 ={res} 0.0000

{txt}Factor loadings (pattern matrix) and unique variances

{space 4}{hline 13}{c  TT}{hline 10}{hline 10}{hline 10}{c  TT}{hline 14}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor1}{space 1}{space 1}{ralign 8:Factor2}{space 1}{space 1}{ralign 8:Factor3}{space 1}{c |}{space 1}{ralign 12:Uniqueness}{space 1}
{space 4}{hline 13}{c   +}{hline 10}{hline 10}{hline 10}{c   +}{hline 14}
{space 4}{space 0}{ralign 12:pdiffideo96}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.4708}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0870}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0378}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.7694}}}{space 1}
{space 4}{space 0}{ralign 12:pdiffjobs96}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.8095}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0146}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0234}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.3439}}}{space 1}
{space 4}{space 0}{ralign 12:pdiffdefe~96}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.6529}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0732}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0397}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.5668}}}{space 1}
{space 4}{space 0}{ralign 12:pdiffserv~96}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.7956}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0235}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0311}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.3656}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}{hline 10}{hline 10}{c  BT}{hline 14}

{com}. alpha pdiffideo96 pdiffjobs96 pdiffdefense96 ///
>         pdiffservice96, gen(ppol96) 

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} .9597619
{txt}Number of items in the scale:{col 34}{res}        4
{txt}Scale reliability coefficient:{col 34}{res}   0.7627
{txt}
{com}. 
. * Issue extremity
. gen issex1 = abs(selfdefense92)
{txt}(60 missing values generated)

{com}. gen issex2 = abs(selfservice92) 
{txt}(79 missing values generated)

{com}. gen issex3 = abs(selfaid92)     
{txt}(52 missing values generated)

{com}. gen issex4 = abs(selfinsure92)  
{txt}(75 missing values generated)

{com}. gen issex5 = abs(selfjobs92)    
{txt}(55 missing values generated)

{com}.         
. alpha issex1-issex5, gen(issextreme92)

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} .2120501
{txt}Number of items in the scale:{col 34}{res}        5
{txt}Scale reliability coefficient:{col 34}{res}   0.5345
{txt}
{com}. 
. ********************************************************************************
.         
. ****
. ** Panel models corresponding to 
. ** Table 1, columns 1-2
. ****    
. 
. sem (ppol96 <- ppol92 affectpol92 pidstrength92 ideostrength92 issextreme92 ///
>         interest92 info92 edu92 age92 income92 female92 ///
>         black92 south92) ///
>         (affectpol96 <- affectpol92 ppol92 pidstrength92 ideostrength92 issextreme92  ///
>         interest92 info92 edu92 age92 income92 female92  ///
>         black92 south92), standardized
{res}{txt}(176 observations with missing values excluded)

Endogenous variables

{p 0 11 2}Observed:{space 2}{res}ppol96 affectpol96{p_end}
{txt}
Exogenous variables

{p 0 11 2}Observed:{space 2}{res}ppol92 affectpol92 pidstrength92 ideostrength92 issextreme92 interest92 info92 edu92 age92 income92 female92 black92 south92{p_end}
{txt}
Fitting target model:

Iteration 0:{space 3}log likelihood = {res:-11655.176}  
Iteration 1:{space 3}log likelihood = {res:-11655.176}  

{col 1}Structural equation model{col 49}Number of obs{col 67}= {res}       421
{txt}{col 1}Estimation method{col 20}= {res}ml
{txt}{col 1}Log likelihood{col 20}= {res}-11655.176

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}      OIM
{col 1}   Standardized{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}{res}Structural     {col 17}{txt}{c |}
{space 2}{col 3}ppol96       {col 17}{c |}
{space 9}ppol92 {c |}{col 17}{res}{space 2} .3197659{col 29}{space 2} .0464066{col 40}{space 1}    6.89{col 49}{space 3}0.000{col 57}{space 4} .2288106{col 70}{space 3} .4107212
{txt}{space 4}affectpol92 {c |}{col 17}{res}{space 2} .1284897{col 29}{space 2} .0521004{col 40}{space 1}    2.47{col 49}{space 3}0.014{col 57}{space 4} .0263748{col 70}{space 3} .2306047
{txt}{space 2}pidstrength92 {c |}{col 17}{res}{space 2} .0596418{col 29}{space 2} .0466944{col 40}{space 1}    1.28{col 49}{space 3}0.202{col 57}{space 4}-.0318775{col 70}{space 3} .1511611
{txt}{space 2}ideostreng~92 {c |}{col 17}{res}{space 2} .0089415{col 29}{space 2} .0456874{col 40}{space 1}    0.20{col 49}{space 3}0.845{col 57}{space 4}-.0806042{col 70}{space 3} .0984871
{txt}{space 3}issextreme92 {c |}{col 17}{res}{space 2}  .152502{col 29}{space 2} .0440526{col 40}{space 1}    3.46{col 49}{space 3}0.001{col 57}{space 4} .0661604{col 70}{space 3} .2388436
{txt}{space 5}interest92 {c |}{col 17}{res}{space 2}-.0530742{col 29}{space 2} .0459123{col 40}{space 1}   -1.16{col 49}{space 3}0.248{col 57}{space 4}-.1430606{col 70}{space 3} .0369122
{txt}{space 9}info92 {c |}{col 17}{res}{space 2} .1296006{col 29}{space 2}  .050171{col 40}{space 1}    2.58{col 49}{space 3}0.010{col 57}{space 4} .0312671{col 70}{space 3}  .227934
{txt}{space 10}edu92 {c |}{col 17}{res}{space 2}-.0466553{col 29}{space 2} .0515504{col 40}{space 1}   -0.91{col 49}{space 3}0.365{col 57}{space 4}-.1476922{col 70}{space 3} .0543817
{txt}{space 10}age92 {c |}{col 17}{res}{space 2}-.1009583{col 29}{space 2} .0447109{col 40}{space 1}   -2.26{col 49}{space 3}0.024{col 57}{space 4}-.1885901{col 70}{space 3}-.0133265
{txt}{space 7}income92 {c |}{col 17}{res}{space 2} .0028196{col 29}{space 2} .0484356{col 40}{space 1}    0.06{col 49}{space 3}0.954{col 57}{space 4}-.0921124{col 70}{space 3} .0977516
{txt}{space 7}female92 {c |}{col 17}{res}{space 2} .0050698{col 29}{space 2} .0437852{col 40}{space 1}    0.12{col 49}{space 3}0.908{col 57}{space 4}-.0807477{col 70}{space 3} .0908872
{txt}{space 8}black92 {c |}{col 17}{res}{space 2} -.012328{col 29}{space 2} .0436357{col 40}{space 1}   -0.28{col 49}{space 3}0.778{col 57}{space 4}-.0978525{col 70}{space 3} .0731965
{txt}{space 8}south92 {c |}{col 17}{res}{space 2} .0301628{col 29}{space 2} .0435549{col 40}{space 1}    0.69{col 49}{space 3}0.489{col 57}{space 4}-.0552033{col 70}{space 3} .1155288
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .9539455{col 29}{space 2} .3008933{col 40}{space 1}    3.17{col 49}{space 3}0.002{col 57}{space 4} .3642055{col 70}{space 3} 1.543686
{space 2}{txt}{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 2}{col 3}affectpol96  {col 17}{c |}
{space 9}ppol92 {c |}{col 17}{res}{space 2}  .084645{col 29}{space 2} .0449065{col 40}{space 1}    1.88{col 49}{space 3}0.059{col 57}{space 4}-.0033701{col 70}{space 3} .1726601
{txt}{space 4}affectpol92 {c |}{col 17}{res}{space 2} .4567504{col 29}{space 2} .0437392{col 40}{space 1}   10.44{col 49}{space 3}0.000{col 57}{space 4} .3710232{col 70}{space 3} .5424776
{txt}{space 2}pidstrength92 {c |}{col 17}{res}{space 2} .0458173{col 29}{space 2} .0429515{col 40}{space 1}    1.07{col 49}{space 3}0.286{col 57}{space 4}-.0383661{col 70}{space 3} .1300007
{txt}{space 2}ideostreng~92 {c |}{col 17}{res}{space 2} .1080294{col 29}{space 2} .0417141{col 40}{space 1}    2.59{col 49}{space 3}0.010{col 57}{space 4} .0262712{col 70}{space 3} .1897876
{txt}{space 3}issextreme92 {c |}{col 17}{res}{space 2} .0709969{col 29}{space 2} .0409551{col 40}{space 1}    1.73{col 49}{space 3}0.083{col 57}{space 4}-.0092736{col 70}{space 3} .1512674
{txt}{space 5}interest92 {c |}{col 17}{res}{space 2} .0338952{col 29}{space 2} .0422375{col 40}{space 1}    0.80{col 49}{space 3}0.422{col 57}{space 4}-.0488888{col 70}{space 3} .1166792
{txt}{space 9}info92 {c |}{col 17}{res}{space 2} .0116738{col 29}{space 2} .0464823{col 40}{space 1}    0.25{col 49}{space 3}0.802{col 57}{space 4}-.0794297{col 70}{space 3} .1027774
{txt}{space 10}edu92 {c |}{col 17}{res}{space 2}-.0517684{col 29}{space 2} .0473686{col 40}{space 1}   -1.09{col 49}{space 3}0.274{col 57}{space 4}-.1446091{col 70}{space 3} .0410722
{txt}{space 10}age92 {c |}{col 17}{res}{space 2}-.0380129{col 29}{space 2} .0413128{col 40}{space 1}   -0.92{col 49}{space 3}0.358{col 57}{space 4}-.1189844{col 70}{space 3} .0429586
{txt}{space 7}income92 {c |}{col 17}{res}{space 2} .0832955{col 29}{space 2} .0443598{col 40}{space 1}    1.88{col 49}{space 3}0.060{col 57}{space 4}-.0036481{col 70}{space 3}  .170239
{txt}{space 7}female92 {c |}{col 17}{res}{space 2} .0281234{col 29}{space 2} .0402217{col 40}{space 1}    0.70{col 49}{space 3}0.484{col 57}{space 4}-.0507097{col 70}{space 3} .1069566
{txt}{space 8}black92 {c |}{col 17}{res}{space 2}-.0212985{col 29}{space 2} .0400959{col 40}{space 1}   -0.53{col 49}{space 3}0.595{col 57}{space 4} -.099885{col 70}{space 3} .0572879
{txt}{space 8}south92 {c |}{col 17}{res}{space 2}-.0446072{col 29}{space 2} .0400031{col 40}{space 1}   -1.12{col 49}{space 3}0.265{col 57}{space 4}-.1230119{col 70}{space 3} .0337975
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .0441724{col 29}{space 2} .2689376{col 40}{space 1}    0.16{col 49}{space 3}0.870{col 57}{space 4}-.4829357{col 70}{space 3} .5712805
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}var(e.ppol96){c |}{col 17}{res}{space 2}  .750707{col 29}{space 2} .0341827{col 57}{space 4} .6866127{col 70}{space 3} .8207844
{txt}var(e.affect~96){c |}{col 17}{res}{space 2} .6340788{col 29}{space 2} .0337946{col 57}{space 4} .5711847{col 70}{space 3} .7038982
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
LR test of model vs. saturated: chi2({res:1})   = {res:   104.84}, Prob > chi2 = {res}0.0000
{txt}
{com}.         
. test [ppol96]affectpol92 = [ppol96]issextreme92

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[ppol96]affectpol92 - [ppol96]issextreme92 = 0{p_end}

{txt}{col 12}chi2(  1) ={res}   10.84
{txt}{col 10}Prob > chi2 =  {res}  0.0010
{txt}
{com}. test [ppol96]affectpol92 = [ppol96]info92

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[ppol96]affectpol92 - [ppol96]info92 = 0{p_end}

{txt}{col 12}chi2(  1) ={res}    5.95
{txt}{col 10}Prob > chi2 =  {res}  0.0148
{txt}
{com}. 
. test [ppol96]affectpol92 = [affectpol96]ppol92

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[ppol96]affectpol92 - [affectpol96]ppol92 = 0{p_end}

{txt}{col 12}chi2(  1) ={res}    3.50
{txt}{col 10}Prob > chi2 =  {res}  0.0615
{txt}
{com}. 
. ****
. ** Panel models stratified by sophistication
. ** corresponding to Table 2, top half
. ****    
.         
. gen info3 = .
{txt}(597 missing values generated)

{com}. replace info3 = 1 if info92 == 0 | info92 == 1
{txt}(97 real changes made)

{com}. replace info3 = 2 if info92 == 2 
{txt}(181 real changes made)

{com}. replace info3 = 3 if info92 == 4 | info92 == 3
{txt}(319 real changes made)

{com}.         
. sem (ppol96 <- ppol92 affectpol92 pidstrength92 ideostrength92 issextreme92 ///
>         interest92 edu92 age92 income92 female92 ///
>         black92 south92) ///
>         (affectpol96 <- affectpol92 ppol92 pidstrength92 ideostrength92 issextreme92  ///
>         interest92 edu92 age92 income92 female92  ///
>         black92 south92), standardized group(info3)
{res}{txt}(176 observations with missing values excluded)

Endogenous variables

{p 0 11 2}Observed:{space 2}{res}ppol96 affectpol96{p_end}
{txt}
Exogenous variables

{p 0 11 2}Observed:{space 2}{res}ppol92 affectpol92 pidstrength92 ideostrength92 issextreme92 interest92 edu92 age92 income92 female92 black92 south92{p_end}
{txt}
Fitting target model:

Iteration 0:{space 3}log likelihood = {res:-10943.696}  
Iteration 1:{space 3}log likelihood = {res:-10943.696}  

{col 1}Structural equation model{col 49}Number of obs{col 67}= {res}       421
{txt}{col 1}Grouping variable{col 20}= {res}info3{txt}{col 49}Number of groups{col 67}= {res}         3
{txt}{col 1}Estimation method{col 20}= {res}ml
{txt}{col 1}Log likelihood{col 20}= {res}-10943.696

{txt}Group{col 20}: {res}1{txt}{col 49}Number of obs{col 67}= {res}        35

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}      OIM
{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}{res}Structural     {col 17}{txt}{c |}
{space 2}{col 3}ppol96       {col 17}{c |}
{space 9}ppol92 {c |}{col 17}{res}{space 2} .3192268{col 29}{space 2} .2032514{col 40}{space 1}    1.57{col 49}{space 3}0.116{col 57}{space 4}-.0791387{col 70}{space 3} .7175922
{txt}{space 4}affectpol92 {c |}{col 17}{res}{space 2} .0998628{col 29}{space 2} .1890177{col 40}{space 1}    0.53{col 49}{space 3}0.597{col 57}{space 4} -.270605{col 70}{space 3} .4703306
{txt}{space 2}pidstrength92 {c |}{col 17}{res}{space 2}-.1349819{col 29}{space 2} .1863759{col 40}{space 1}   -0.72{col 49}{space 3}0.469{col 57}{space 4}-.5002719{col 70}{space 3} .2303082
{txt}{space 2}ideostreng~92 {c |}{col 17}{res}{space 2} .0894158{col 29}{space 2} .1421737{col 40}{space 1}    0.63{col 49}{space 3}0.529{col 57}{space 4}-.1892396{col 70}{space 3} .3680712
{txt}{space 3}issextreme92 {c |}{col 17}{res}{space 2} .1748131{col 29}{space 2} .1615429{col 40}{space 1}    1.08{col 49}{space 3}0.279{col 57}{space 4} -.141805{col 70}{space 3} .4914313
{txt}{space 5}interest92 {c |}{col 17}{res}{space 2} .3806148{col 29}{space 2} .2127135{col 40}{space 1}    1.79{col 49}{space 3}0.074{col 57}{space 4} -.036296{col 70}{space 3} .7975257
{txt}{space 10}edu92 {c |}{col 17}{res}{space 2}-.2187172{col 29}{space 2} .2036456{col 40}{space 1}   -1.07{col 49}{space 3}0.283{col 57}{space 4}-.6178553{col 70}{space 3}  .180421
{txt}{space 10}age92 {c |}{col 17}{res}{space 2}-.1782706{col 29}{space 2} .1915308{col 40}{space 1}   -0.93{col 49}{space 3}0.352{col 57}{space 4}-.5536641{col 70}{space 3} .1971229
{txt}{space 7}income92 {c |}{col 17}{res}{space 2}-.2660785{col 29}{space 2} .1580127{col 40}{space 1}   -1.68{col 49}{space 3}0.092{col 57}{space 4}-.5757777{col 70}{space 3} .0436206
{txt}{space 7}female92 {c |}{col 17}{res}{space 2}-.1074824{col 29}{space 2} .1783023{col 40}{space 1}   -0.60{col 49}{space 3}0.547{col 57}{space 4}-.4569484{col 70}{space 3} .2419836
{txt}{space 8}black92 {c |}{col 17}{res}{space 2} .2737782{col 29}{space 2} .1535018{col 40}{space 1}    1.78{col 49}{space 3}0.074{col 57}{space 4}-.0270797{col 70}{space 3} .5746361
{txt}{space 8}south92 {c |}{col 17}{res}{space 2}-.0726159{col 29}{space 2} .1719546{col 40}{space 1}   -0.42{col 49}{space 3}0.673{col 57}{space 4}-.4096407{col 70}{space 3} .2644089
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .8542239{col 29}{space 2} .8887679{col 40}{space 1}    0.96{col 49}{space 3}0.336{col 57}{space 4}-.8877292{col 70}{space 3} 2.596177
{space 2}{txt}{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 2}{col 3}affectpol96  {col 17}{c |}
{space 9}ppol92 {c |}{col 17}{res}{space 2} .3309948{col 29}{space 2} .2070024{col 40}{space 1}    1.60{col 49}{space 3}0.110{col 57}{space 4}-.0747224{col 70}{space 3}  .736712
{txt}{space 4}affectpol92 {c |}{col 17}{res}{space 2} .0671095{col 29}{space 2} .1932811{col 40}{space 1}    0.35{col 49}{space 3}0.728{col 57}{space 4}-.3117145{col 70}{space 3} .4459335
{txt}{space 2}pidstrength92 {c |}{col 17}{res}{space 2} .1539838{col 29}{space 2}  .189913{col 40}{space 1}    0.81{col 49}{space 3}0.417{col 57}{space 4}-.2182388{col 70}{space 3} .5262065
{txt}{space 2}ideostreng~92 {c |}{col 17}{res}{space 2} .0982192{col 29}{space 2}  .144998{col 40}{space 1}    0.68{col 49}{space 3}0.498{col 57}{space 4}-.1859717{col 70}{space 3}   .38241
{txt}{space 3}issextreme92 {c |}{col 17}{res}{space 2}-.2385856{col 29}{space 2} .1630158{col 40}{space 1}   -1.46{col 49}{space 3}0.143{col 57}{space 4}-.5580906{col 70}{space 3} .0809195
{txt}{space 5}interest92 {c |}{col 17}{res}{space 2} .2582939{col 29}{space 2} .2212263{col 40}{space 1}    1.17{col 49}{space 3}0.243{col 57}{space 4}-.1753017{col 70}{space 3} .6918895
{txt}{space 10}edu92 {c |}{col 17}{res}{space 2}-.1298023{col 29}{space 2} .2095936{col 40}{space 1}   -0.62{col 49}{space 3}0.536{col 57}{space 4}-.5405982{col 70}{space 3} .2809935
{txt}{space 10}age92 {c |}{col 17}{res}{space 2}-.0235253{col 29}{space 2} .1973562{col 40}{space 1}   -0.12{col 49}{space 3}0.905{col 57}{space 4}-.4103364{col 70}{space 3} .3632858
{txt}{space 7}income92 {c |}{col 17}{res}{space 2}-.0180793{col 29}{space 2} .1662695{col 40}{space 1}   -0.11{col 49}{space 3}0.913{col 57}{space 4}-.3439615{col 70}{space 3}  .307803
{txt}{space 7}female92 {c |}{col 17}{res}{space 2} .0675352{col 29}{space 2} .1824581{col 40}{space 1}    0.37{col 49}{space 3}0.711{col 57}{space 4}-.2900761{col 70}{space 3} .4251464
{txt}{space 8}black92 {c |}{col 17}{res}{space 2} .1171444{col 29}{space 2} .1611365{col 40}{space 1}    0.73{col 49}{space 3}0.467{col 57}{space 4}-.1986774{col 70}{space 3} .4329661
{txt}{space 8}south92 {c |}{col 17}{res}{space 2}-.1581137{col 29}{space 2} .1742209{col 40}{space 1}   -0.91{col 49}{space 3}0.364{col 57}{space 4}-.4995804{col 70}{space 3} .1833531
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .3386746{col 29}{space 2} .8987082{col 40}{space 1}    0.38{col 49}{space 3}0.706{col 57}{space 4}-1.422761{col 70}{space 3}  2.10011
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}var(e.ppol96){c |}{col 17}{res}{space 2}  .596843{col 29}{space 2} .1144746{col 57}{space 4} .4098259{col 70}{space 3} .8692021
{txt}var(e.affect~96){c |}{col 17}{res}{space 2}   .62198{col 29}{space 2} .1164227{col 57}{space 4} .4309708{col 70}{space 3} .8976456
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}Group{col 20}: {res}2{txt}{col 49}Number of obs{col 67}= {res}       119

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}      OIM
{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}{res}Structural     {col 17}{txt}{c |}
{space 2}{col 3}ppol96       {col 17}{c |}
{space 9}ppol92 {c |}{col 17}{res}{space 2} .2582233{col 29}{space 2} .0926468{col 40}{space 1}    2.79{col 49}{space 3}0.005{col 57}{space 4} .0766389{col 70}{space 3} .4398077
{txt}{space 4}affectpol92 {c |}{col 17}{res}{space 2} .1025672{col 29}{space 2} .0973892{col 40}{space 1}    1.05{col 49}{space 3}0.292{col 57}{space 4}-.0883121{col 70}{space 3} .2934464
{txt}{space 2}pidstrength92 {c |}{col 17}{res}{space 2} .0932746{col 29}{space 2} .0834258{col 40}{space 1}    1.12{col 49}{space 3}0.264{col 57}{space 4} -.070237{col 70}{space 3} .2567862
{txt}{space 2}ideostreng~92 {c |}{col 17}{res}{space 2}-.0120406{col 29}{space 2} .0868418{col 40}{space 1}   -0.14{col 49}{space 3}0.890{col 57}{space 4}-.1822474{col 70}{space 3} .1581661
{txt}{space 3}issextreme92 {c |}{col 17}{res}{space 2} .3162983{col 29}{space 2} .0795491{col 40}{space 1}    3.98{col 49}{space 3}0.000{col 57}{space 4}  .160385{col 70}{space 3} .4722117
{txt}{space 5}interest92 {c |}{col 17}{res}{space 2}-.0926571{col 29}{space 2} .0818537{col 40}{space 1}   -1.13{col 49}{space 3}0.258{col 57}{space 4}-.2530874{col 70}{space 3} .0677733
{txt}{space 10}edu92 {c |}{col 17}{res}{space 2} .0219709{col 29}{space 2} .0990987{col 40}{space 1}    0.22{col 49}{space 3}0.825{col 57}{space 4}-.1722589{col 70}{space 3} .2162007
{txt}{space 10}age92 {c |}{col 17}{res}{space 2}-.0692985{col 29}{space 2} .0938236{col 40}{space 1}   -0.74{col 49}{space 3}0.460{col 57}{space 4}-.2531893{col 70}{space 3} .1145923
{txt}{space 7}income92 {c |}{col 17}{res}{space 2}-.0633061{col 29}{space 2} .0882824{col 40}{space 1}   -0.72{col 49}{space 3}0.473{col 57}{space 4}-.2363364{col 70}{space 3} .1097242
{txt}{space 7}female92 {c |}{col 17}{res}{space 2} .0191011{col 29}{space 2} .0818154{col 40}{space 1}    0.23{col 49}{space 3}0.815{col 57}{space 4}-.1412543{col 70}{space 3} .1794564
{txt}{space 8}black92 {c |}{col 17}{res}{space 2}-.2148441{col 29}{space 2} .0846205{col 40}{space 1}   -2.54{col 49}{space 3}0.011{col 57}{space 4}-.3806972{col 70}{space 3}-.0489911
{txt}{space 8}south92 {c |}{col 17}{res}{space 2} .1551529{col 29}{space 2} .0854749{col 40}{space 1}    1.82{col 49}{space 3}0.069{col 57}{space 4}-.0123748{col 70}{space 3} .3226806
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .9412531{col 29}{space 2} .6034205{col 40}{space 1}    1.56{col 49}{space 3}0.119{col 57}{space 4}-.2414294{col 70}{space 3} 2.123936
{space 2}{txt}{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 2}{col 3}affectpol96  {col 17}{c |}
{space 9}ppol92 {c |}{col 17}{res}{space 2} .1534299{col 29}{space 2} .0915648{col 40}{space 1}    1.68{col 49}{space 3}0.094{col 57}{space 4}-.0260339{col 70}{space 3} .3328937
{txt}{space 4}affectpol92 {c |}{col 17}{res}{space 2}  .335526{col 29}{space 2}  .089914{col 40}{space 1}    3.73{col 49}{space 3}0.000{col 57}{space 4} .1592977{col 70}{space 3} .5117543
{txt}{space 2}pidstrength92 {c |}{col 17}{res}{space 2}-.0319018{col 29}{space 2} .0811082{col 40}{space 1}   -0.39{col 49}{space 3}0.694{col 57}{space 4}-.1908708{col 70}{space 3} .1270673
{txt}{space 2}ideostreng~92 {c |}{col 17}{res}{space 2} .0388673{col 29}{space 2} .0839715{col 40}{space 1}    0.46{col 49}{space 3}0.643{col 57}{space 4}-.1257139{col 70}{space 3} .2034485
{txt}{space 3}issextreme92 {c |}{col 17}{res}{space 2} .1709231{col 29}{space 2} .0805813{col 40}{space 1}    2.12{col 49}{space 3}0.034{col 57}{space 4} .0129866{col 70}{space 3} .3288597
{txt}{space 5}interest92 {c |}{col 17}{res}{space 2} .0504799{col 29}{space 2} .0795131{col 40}{space 1}    0.63{col 49}{space 3}0.526{col 57}{space 4}-.1053628{col 70}{space 3} .2063227
{txt}{space 10}edu92 {c |}{col 17}{res}{space 2} .1376318{col 29}{space 2} .0951402{col 40}{space 1}    1.45{col 49}{space 3}0.148{col 57}{space 4}-.0488395{col 70}{space 3} .3241032
{txt}{space 10}age92 {c |}{col 17}{res}{space 2} .0584054{col 29}{space 2} .0908547{col 40}{space 1}    0.64{col 49}{space 3}0.520{col 57}{space 4}-.1196664{col 70}{space 3} .2364773
{txt}{space 7}income92 {c |}{col 17}{res}{space 2} .0127888{col 29}{space 2} .0856081{col 40}{space 1}    0.15{col 49}{space 3}0.881{col 57}{space 4}-.1549999{col 70}{space 3} .1805775
{txt}{space 7}female92 {c |}{col 17}{res}{space 2} .1305922{col 29}{space 2} .0783426{col 40}{space 1}    1.67{col 49}{space 3}0.096{col 57}{space 4}-.0229565{col 70}{space 3} .2841409
{txt}{space 8}black92 {c |}{col 17}{res}{space 2}-.0750687{col 29}{space 2} .0838363{col 40}{space 1}   -0.90{col 49}{space 3}0.371{col 57}{space 4}-.2393849{col 70}{space 3} .0892474
{txt}{space 8}south92 {c |}{col 17}{res}{space 2}-.0252343{col 29}{space 2} .0838328{col 40}{space 1}   -0.30{col 49}{space 3}0.763{col 57}{space 4}-.1895436{col 70}{space 3}  .139075
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}-.4350039{col 29}{space 2}  .563289{col 40}{space 1}   -0.77{col 49}{space 3}0.440{col 57}{space 4} -1.53903{col 70}{space 3} .6690221
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}var(e.ppol96){c |}{col 17}{res}{space 2} .7386592{col 29}{space 2}   .06455{col 57}{space 4} .6223851{col 70}{space 3} .8766556
{txt}var(e.affect~96){c |}{col 17}{res}{space 2} .6916831{col 29}{space 2}   .06476{col 57}{space 4} .5757209{col 70}{space 3} .8310026
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}Group{col 20}: {res}3{txt}{col 49}Number of obs{col 67}= {res}       267

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}      OIM
{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}{res}Structural     {col 17}{txt}{c |}
{space 2}{col 3}ppol96       {col 17}{c |}
{space 9}ppol92 {c |}{col 17}{res}{space 2} .3726797{col 29}{space 2} .0523045{col 40}{space 1}    7.13{col 49}{space 3}0.000{col 57}{space 4} .2701648{col 70}{space 3} .4751946
{txt}{space 4}affectpol92 {c |}{col 17}{res}{space 2}   .19966{col 29}{space 2} .0641453{col 40}{space 1}    3.11{col 49}{space 3}0.002{col 57}{space 4} .0739375{col 70}{space 3} .3253825
{txt}{space 2}pidstrength92 {c |}{col 17}{res}{space 2} .0734361{col 29}{space 2} .0586131{col 40}{space 1}    1.25{col 49}{space 3}0.210{col 57}{space 4}-.0414435{col 70}{space 3} .1883157
{txt}{space 2}ideostreng~92 {c |}{col 17}{res}{space 2}-.0110296{col 29}{space 2} .0582574{col 40}{space 1}   -0.19{col 49}{space 3}0.850{col 57}{space 4} -.125212{col 70}{space 3} .1031528
{txt}{space 3}issextreme92 {c |}{col 17}{res}{space 2} .0738987{col 29}{space 2} .0550444{col 40}{space 1}    1.34{col 49}{space 3}0.179{col 57}{space 4}-.0339863{col 70}{space 3} .1817837
{txt}{space 5}interest92 {c |}{col 17}{res}{space 2} -.084785{col 29}{space 2}  .054227{col 40}{space 1}   -1.56{col 49}{space 3}0.118{col 57}{space 4} -.191068{col 70}{space 3}  .021498
{txt}{space 10}edu92 {c |}{col 17}{res}{space 2}-.0548918{col 29}{space 2} .0584437{col 40}{space 1}   -0.94{col 49}{space 3}0.348{col 57}{space 4}-.1694394{col 70}{space 3} .0596558
{txt}{space 10}age92 {c |}{col 17}{res}{space 2}-.1492058{col 29}{space 2} .0523077{col 40}{space 1}   -2.85{col 49}{space 3}0.004{col 57}{space 4}-.2517271{col 70}{space 3}-.0466846
{txt}{space 7}income92 {c |}{col 17}{res}{space 2}  .106826{col 29}{space 2} .0564645{col 40}{space 1}    1.89{col 49}{space 3}0.059{col 57}{space 4}-.0038423{col 70}{space 3} .2174944
{txt}{space 7}female92 {c |}{col 17}{res}{space 2}-.0082107{col 29}{space 2} .0522686{col 40}{space 1}   -0.16{col 49}{space 3}0.875{col 57}{space 4}-.1106553{col 70}{space 3} .0942338
{txt}{space 8}black92 {c |}{col 17}{res}{space 2} .0265482{col 29}{space 2} .0529789{col 40}{space 1}    0.50{col 49}{space 3}0.616{col 57}{space 4}-.0772885{col 70}{space 3}  .130385
{txt}{space 8}south92 {c |}{col 17}{res}{space 2}-.0144128{col 29}{space 2} .0523319{col 40}{space 1}   -0.28{col 49}{space 3}0.783{col 57}{space 4}-.1169815{col 70}{space 3} .0881558
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}  1.50046{col 29}{space 2} .4126209{col 40}{space 1}    3.64{col 49}{space 3}0.000{col 57}{space 4} .6917383{col 70}{space 3} 2.309182
{space 2}{txt}{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 2}{col 3}affectpol96  {col 17}{c |}
{space 9}ppol92 {c |}{col 17}{res}{space 2} .0192963{col 29}{space 2} .0500439{col 40}{space 1}    0.39{col 49}{space 3}0.700{col 57}{space 4}-.0787879{col 70}{space 3} .1173804
{txt}{space 4}affectpol92 {c |}{col 17}{res}{space 2} .5563403{col 29}{space 2} .0499403{col 40}{space 1}   11.14{col 49}{space 3}0.000{col 57}{space 4} .4584591{col 70}{space 3} .6542215
{txt}{space 2}pidstrength92 {c |}{col 17}{res}{space 2} .0257724{col 29}{space 2} .0517371{col 40}{space 1}    0.50{col 49}{space 3}0.618{col 57}{space 4}-.0756304{col 70}{space 3} .1271752
{txt}{space 2}ideostreng~92 {c |}{col 17}{res}{space 2} .1359503{col 29}{space 2}  .050828{col 40}{space 1}    2.67{col 49}{space 3}0.007{col 57}{space 4} .0363292{col 70}{space 3} .2355714
{txt}{space 3}issextreme92 {c |}{col 17}{res}{space 2} .0642658{col 29}{space 2}  .048512{col 40}{space 1}    1.32{col 49}{space 3}0.185{col 57}{space 4} -.030816{col 70}{space 3} .1593475
{txt}{space 5}interest92 {c |}{col 17}{res}{space 2} .0045898{col 29}{space 2} .0479547{col 40}{space 1}    0.10{col 49}{space 3}0.924{col 57}{space 4}-.0893997{col 70}{space 3} .0985793
{txt}{space 10}edu92 {c |}{col 17}{res}{space 2}-.1493179{col 29}{space 2} .0509746{col 40}{space 1}   -2.93{col 49}{space 3}0.003{col 57}{space 4}-.2492264{col 70}{space 3}-.0494095
{txt}{space 10}age92 {c |}{col 17}{res}{space 2}-.0737618{col 29}{space 2} .0465695{col 40}{space 1}   -1.58{col 49}{space 3}0.113{col 57}{space 4}-.1650364{col 70}{space 3} .0175128
{txt}{space 7}income92 {c |}{col 17}{res}{space 2} .1088831{col 29}{space 2} .0497245{col 40}{space 1}    2.19{col 49}{space 3}0.029{col 57}{space 4} .0114249{col 70}{space 3} .2063414
{txt}{space 7}female92 {c |}{col 17}{res}{space 2} -.025125{col 29}{space 2} .0460072{col 40}{space 1}   -0.55{col 49}{space 3}0.585{col 57}{space 4}-.1152974{col 70}{space 3} .0650474
{txt}{space 8}black92 {c |}{col 17}{res}{space 2}-.0109329{col 29}{space 2}  .046666{col 40}{space 1}   -0.23{col 49}{space 3}0.815{col 57}{space 4}-.1023966{col 70}{space 3} .0805308
{txt}{space 8}south92 {c |}{col 17}{res}{space 2}-.0393888{col 29}{space 2} .0460411{col 40}{space 1}   -0.86{col 49}{space 3}0.392{col 57}{space 4}-.1296278{col 70}{space 3} .0508501
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .5428828{col 29}{space 2} .3550894{col 40}{space 1}    1.53{col 49}{space 3}0.126{col 57}{space 4}-.1530797{col 70}{space 3} 1.238845
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}var(e.ppol96){c |}{col 17}{res}{space 2} .7046777{col 29}{space 2} .0432732{col 57}{space 4}  .624769{col 70}{space 3} .7948067
{txt}var(e.affect~96){c |}{col 17}{res}{space 2}  .546335{col 29}{space 2} .0396039{col 57}{space 4} .4739749{col 70}{space 3} .6297421
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}LR test of model vs. saturated: chi2({res:3})   = {res:   108.28}, Prob > chi2 = {res}0.0000
{txt}
{com}.         
. bysort info3: reg ppol96 ppol92 affectpol92 pidstrength92 ideostrength92 ///
>         issextreme92 interest92 edu92 age92 income92 female92 black92 south92, beta     

{txt}{hline}
-> info3 = 1

      Source {c |}       SS           df       MS      Number of obs   ={res}        35
{txt}{hline 13}{c +}{hline 34}   F(12, 22)       = {res}     1.24
{txt}       Model {c |} {res} 25.2128342        12  2.10106952   {txt}Prob > F        ={res}    0.3195
{txt}    Residual {c |} {res} 37.3256587        22  1.69662085   {txt}R-squared       ={res}    0.4032
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0776
{txt}       Total {c |} {res}  62.538493        34  1.83936744   {txt}Root MSE        =   {res} 1.3025

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        ppol96{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 69}        Beta
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ppol92 {c |}{col 16}{res}{space 2} .4236104{col 28}{space 2} .3493584{col 39}{space 1}    1.21{col 48}{space 3}0.238{col 69}{space 3} .3192268
{txt}{space 3}affectpol92 {c |}{col 16}{res}{space 2} .0064255{col 28}{space 2} .0153874{col 39}{space 1}    0.42{col 48}{space 3}0.680{col 69}{space 3} .0998628
{txt}{space 1}pidstrength92 {c |}{col 16}{res}{space 2}-.1598898{col 28}{space 2} .2800691{col 39}{space 1}   -0.57{col 48}{space 3}0.574{col 69}{space 3}-.1349819
{txt}ideostrength92 {c |}{col 16}{res}{space 2} .1154049{col 28}{space 2} .2324586{col 39}{space 1}    0.50{col 48}{space 3}0.624{col 69}{space 3} .0894158
{txt}{space 2}issextreme92 {c |}{col 16}{res}{space 2} .3368824{col 28}{space 2} .3977162{col 39}{space 1}    0.85{col 48}{space 3}0.406{col 69}{space 3} .1748131
{txt}{space 4}interest92 {c |}{col 16}{res}{space 2} .7839143{col 28}{space 2} .5718383{col 39}{space 1}    1.37{col 48}{space 3}0.184{col 69}{space 3} .3806148
{txt}{space 9}edu92 {c |}{col 16}{res}{space 2}-.1788345{col 28}{space 2} .2126878{col 39}{space 1}   -0.84{col 48}{space 3}0.409{col 69}{space 3}-.2187172
{txt}{space 9}age92 {c |}{col 16}{res}{space 2} -.016921{col 28}{space 2}  .023149{col 39}{space 1}   -0.73{col 48}{space 3}0.473{col 69}{space 3}-.1782706
{txt}{space 6}income92 {c |}{col 16}{res}{space 2}-.0461025{col 28}{space 2} .0356001{col 39}{space 1}   -1.30{col 48}{space 3}0.209{col 69}{space 3}-.2660785
{txt}{space 6}female92 {c |}{col 16}{res}{space 2}-.3026847{col 28}{space 2} .6358766{col 39}{space 1}   -0.48{col 48}{space 3}0.639{col 69}{space 3}-.1074824
{txt}{space 7}black92 {c |}{col 16}{res}{space 2}  1.04583{col 28}{space 2} .7652053{col 39}{space 1}    1.37{col 48}{space 3}0.186{col 69}{space 3} .2737782
{txt}{space 7}south92 {c |}{col 16}{res}{space 2}-.2090921{col 28}{space 2} .6257458{col 39}{space 1}   -0.33{col 48}{space 3}0.741{col 69}{space 3}-.0726159
{txt}{space 9}_cons {c |}{col 16}{res}{space 2} 1.141856{col 28}{space 2} 1.470675{col 39}{space 1}    0.78{col 48}{space 3}0.446{col 69}{space 3}        .
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{hline}
-> info3 = 2

      Source {c |}       SS           df       MS      Number of obs   ={res}       119
{txt}{hline 13}{c +}{hline 34}   F(12, 106)      = {res}     3.13
{txt}       Model {c |} {res} 39.7081904        12  3.30901587   {txt}Prob > F        ={res}    0.0008
{txt}    Residual {c |} {res} 112.232054       106  1.05879296   {txt}R-squared       ={res}    0.2613
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.1777
{txt}       Total {c |} {res} 151.940244       118  1.28762919   {txt}Root MSE        =   {res}  1.029

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        ppol96{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 69}        Beta
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ppol92 {c |}{col 16}{res}{space 2} .2652052{col 28}{space 2} .1040931{col 39}{space 1}    2.55{col 48}{space 3}0.012{col 69}{space 3} .2582233
{txt}{space 3}affectpol92 {c |}{col 16}{res}{space 2} .0061048{col 28}{space 2} .0061706{col 39}{space 1}    0.99{col 48}{space 3}0.325{col 69}{space 3} .1025672
{txt}{space 1}pidstrength92 {c |}{col 16}{res}{space 2}  .110945{col 28}{space 2} .1056965{col 39}{space 1}    1.05{col 48}{space 3}0.296{col 69}{space 3} .0932746
{txt}ideostrength92 {c |}{col 16}{res}{space 2} -.013975{col 28}{space 2} .1068036{col 39}{space 1}   -0.13{col 48}{space 3}0.896{col 69}{space 3}-.0120406
{txt}{space 2}issextreme92 {c |}{col 16}{res}{space 2} .5765098{col 28}{space 2} .1636231{col 39}{space 1}    3.52{col 48}{space 3}0.001{col 69}{space 3} .3162983
{txt}{space 4}interest92 {c |}{col 16}{res}{space 2}-.1767655{col 28}{space 2} .1663529{col 39}{space 1}   -1.06{col 48}{space 3}0.290{col 69}{space 3}-.0926571
{txt}{space 9}edu92 {c |}{col 16}{res}{space 2}  .015943{col 28}{space 2} .0762082{col 39}{space 1}    0.21{col 48}{space 3}0.835{col 69}{space 3} .0219709
{txt}{space 9}age92 {c |}{col 16}{res}{space 2}-.0042271{col 28}{space 2} .0060779{col 39}{space 1}   -0.70{col 48}{space 3}0.488{col 69}{space 3}-.0692985
{txt}{space 6}income92 {c |}{col 16}{res}{space 2}-.0115085{col 28}{space 2} .0170417{col 39}{space 1}   -0.68{col 48}{space 3}0.501{col 69}{space 3}-.0633061
{txt}{space 6}female92 {c |}{col 16}{res}{space 2} .0435139{col 28}{space 2} .1975274{col 39}{space 1}    0.22{col 48}{space 3}0.826{col 69}{space 3} .0191011
{txt}{space 7}black92 {c |}{col 16}{res}{space 2}-.7534852{col 28}{space 2} .3229462{col 39}{space 1}   -2.33{col 48}{space 3}0.022{col 69}{space 3}-.2148441
{txt}{space 7}south92 {c |}{col 16}{res}{space 2} .3689186{col 28}{space 2} .2183371{col 39}{space 1}    1.69{col 48}{space 3}0.094{col 69}{space 3} .1551529
{txt}{space 9}_cons {c |}{col 16}{res}{space 2} 1.063578{col 28}{space 2} .7071429{col 39}{space 1}    1.50{col 48}{space 3}0.136{col 69}{space 3}        .
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{hline}
-> info3 = 3

      Source {c |}       SS           df       MS      Number of obs   ={res}       267
{txt}{hline 13}{c +}{hline 34}   F(12, 254)      = {res}     8.87
{txt}       Model {c |} {res}  91.323281        12  7.61027342   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 217.909293       254  .857910603   {txt}R-squared       ={res}    0.2953
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.2620
{txt}       Total {c |} {res} 309.232574       266  1.16252847   {txt}Root MSE        =   {res} .92623

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        ppol96{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 69}        Beta
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ppol92 {c |}{col 16}{res}{space 2} .4022978{col 28}{space 2} .0629146{col 39}{space 1}    6.39{col 48}{space 3}0.000{col 69}{space 3} .3726797
{txt}{space 3}affectpol92 {c |}{col 16}{res}{space 2} .0106299{col 28}{space 2} .0035614{col 39}{space 1}    2.98{col 48}{space 3}0.003{col 69}{space 3}   .19966
{txt}{space 1}pidstrength92 {c |}{col 16}{res}{space 2}  .083813{col 28}{space 2} .0687778{col 39}{space 1}    1.22{col 48}{space 3}0.224{col 69}{space 3} .0734361
{txt}ideostrength92 {c |}{col 16}{res}{space 2}-.0132437{col 28}{space 2} .0717245{col 39}{space 1}   -0.18{col 48}{space 3}0.854{col 69}{space 3}-.0110296
{txt}{space 2}issextreme92 {c |}{col 16}{res}{space 2} .1279865{col 28}{space 2} .0980554{col 39}{space 1}    1.31{col 48}{space 3}0.193{col 69}{space 3} .0738987
{txt}{space 4}interest92 {c |}{col 16}{res}{space 2}-.1636561{col 28}{space 2}  .107784{col 39}{space 1}   -1.52{col 48}{space 3}0.130{col 69}{space 3} -.084785
{txt}{space 9}edu92 {c |}{col 16}{res}{space 2}-.0375918{col 28}{space 2} .0411002{col 39}{space 1}   -0.91{col 48}{space 3}0.361{col 69}{space 3}-.0548918
{txt}{space 9}age92 {c |}{col 16}{res}{space 2}-.0098834{col 28}{space 2} .0036036{col 39}{space 1}   -2.74{col 48}{space 3}0.007{col 69}{space 3}-.1492058
{txt}{space 6}income92 {c |}{col 16}{res}{space 2} .0216749{col 28}{space 2} .0118209{col 39}{space 1}    1.83{col 48}{space 3}0.068{col 69}{space 3}  .106826
{txt}{space 6}female92 {c |}{col 16}{res}{space 2}-.0178847{col 28}{space 2}  .116734{col 39}{space 1}   -0.15{col 48}{space 3}0.878{col 69}{space 3}-.0082107
{txt}{space 7}black92 {c |}{col 16}{res}{space 2} .1039058{col 28}{space 2} .2126865{col 39}{space 1}    0.49{col 48}{space 3}0.626{col 69}{space 3} .0265482
{txt}{space 7}south92 {c |}{col 16}{res}{space 2}-.0339825{col 28}{space 2} .1265231{col 39}{space 1}   -0.27{col 48}{space 3}0.788{col 69}{space 3}-.0144128
{txt}{space 9}_cons {c |}{col 16}{res}{space 2} 1.614773{col 28}{space 2} .4397446{col 39}{space 1}    3.67{col 48}{space 3}0.000{col 69}{space 3}        .
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}.         
. bysort info3: reg affectpol96 ppol92 affectpol92 pidstrength92 ideostrength92 ///
>         issextreme92 interest92 edu92 age92 income92 female92 black92 south92, beta             

{txt}{hline}
-> info3 = 1

      Source {c |}       SS           df       MS      Number of obs   ={res}        35
{txt}{hline 13}{c +}{hline 34}   F(12, 22)       = {res}     1.11
{txt}       Model {c |} {res} 4959.90811        12  413.325676   {txt}Prob > F        ={res}    0.3970
{txt}    Residual {c |} {res}   8160.846        22  370.947546   {txt}R-squared       ={res}    0.3780
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.0388
{txt}       Total {c |} {res} 13120.7541        34  385.904533   {txt}Root MSE        =   {res}  19.26

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   affectpol96{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 69}        Beta
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ppol92 {c |}{col 16}{res}{space 2} 6.362007{col 28}{space 2}  5.16577{col 39}{space 1}    1.23{col 48}{space 3}0.231{col 69}{space 3} .3309948
{txt}{space 3}affectpol92 {c |}{col 16}{res}{space 2} .0625451{col 28}{space 2} .2275257{col 39}{space 1}    0.27{col 48}{space 3}0.786{col 69}{space 3} .0671095
{txt}{space 1}pidstrength92 {c |}{col 16}{res}{space 2}  2.64196{col 28}{space 2} 4.141228{col 39}{space 1}    0.64{col 48}{space 3}0.530{col 69}{space 3} .1539838
{txt}ideostrength92 {c |}{col 16}{res}{space 2} 1.836166{col 28}{space 2} 3.437236{col 39}{space 1}    0.53{col 48}{space 3}0.599{col 69}{space 3} .0982192
{txt}{space 2}issextreme92 {c |}{col 16}{res}{space 2}-6.659692{col 28}{space 2}  5.88081{col 39}{space 1}   -1.13{col 48}{space 3}0.270{col 69}{space 3}-.2385856
{txt}{space 4}interest92 {c |}{col 16}{res}{space 2} 7.705533{col 28}{space 2} 8.455457{col 39}{space 1}    0.91{col 48}{space 3}0.372{col 69}{space 3} .2582939
{txt}{space 9}edu92 {c |}{col 16}{res}{space 2}-1.537293{col 28}{space 2} 3.144897{col 39}{space 1}   -0.49{col 48}{space 3}0.630{col 69}{space 3}-.1298023
{txt}{space 9}age92 {c |}{col 16}{res}{space 2}-.0323434{col 28}{space 2}  .342292{col 39}{space 1}   -0.09{col 48}{space 3}0.926{col 69}{space 3}-.0235253
{txt}{space 6}income92 {c |}{col 16}{res}{space 2}-.0453734{col 28}{space 2} .5263989{col 39}{space 1}   -0.09{col 48}{space 3}0.932{col 69}{space 3}-.0180793
{txt}{space 6}female92 {c |}{col 16}{res}{space 2} 2.754792{col 28}{space 2} 9.402356{col 39}{space 1}    0.29{col 48}{space 3}0.772{col 69}{space 3} .0675352
{txt}{space 7}black92 {c |}{col 16}{res}{space 2} 6.481704{col 28}{space 2} 11.31467{col 39}{space 1}    0.57{col 48}{space 3}0.573{col 69}{space 3} .1171444
{txt}{space 7}south92 {c |}{col 16}{res}{space 2}-6.594485{col 28}{space 2} 9.252558{col 39}{space 1}   -0.71{col 48}{space 3}0.484{col 69}{space 3}-.1581137
{txt}{space 9}_cons {c |}{col 16}{res}{space 2} 6.557345{col 28}{space 2} 21.74605{col 39}{space 1}    0.30{col 48}{space 3}0.766{col 69}{space 3}        .
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{hline}
-> info3 = 2

      Source {c |}       SS           df       MS      Number of obs   ={res}       120
{txt}{hline 13}{c +}{hline 34}   F(12, 107)      = {res}     3.96
{txt}       Model {c |} {res} 14430.6364        12  1202.55303   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 32461.2288       107   303.37597   {txt}R-squared       ={res}    0.3077
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.2301
{txt}       Total {c |} {res} 46891.8652       119  394.049287   {txt}Root MSE        =   {res} 17.418

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   affectpol96{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 69}        Beta
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ppol92 {c |}{col 16}{res}{space 2} 3.078389{col 28}{space 2} 1.747342{col 39}{space 1}    1.76{col 48}{space 3}0.081{col 69}{space 3} .1707066
{txt}{space 3}affectpol92 {c |}{col 16}{res}{space 2} .3340004{col 28}{space 2} .1040679{col 39}{space 1}    3.21{col 48}{space 3}0.002{col 69}{space 3} .3198686
{txt}{space 1}pidstrength92 {c |}{col 16}{res}{space 2}-.8246668{col 28}{space 2} 1.785723{col 39}{space 1}   -0.46{col 48}{space 3}0.645{col 69}{space 3}-.0397582
{txt}ideostrength92 {c |}{col 16}{res}{space 2} .5023614{col 28}{space 2} 1.797927{col 39}{space 1}    0.28{col 48}{space 3}0.780{col 69}{space 3} .0247253
{txt}{space 2}issextreme92 {c |}{col 16}{res}{space 2} 5.791461{col 28}{space 2} 2.758316{col 39}{space 1}    2.10{col 48}{space 3}0.038{col 69}{space 3} .1811183
{txt}{space 4}interest92 {c |}{col 16}{res}{space 2} 2.157834{col 28}{space 2}  2.79715{col 39}{space 1}    0.77{col 48}{space 3}0.442{col 69}{space 3} .0645794
{txt}{space 9}edu92 {c |}{col 16}{res}{space 2} 1.514069{col 28}{space 2}  1.28128{col 39}{space 1}    1.18{col 48}{space 3}0.240{col 69}{space 3} .1189039
{txt}{space 9}age92 {c |}{col 16}{res}{space 2} .0297736{col 28}{space 2} .1005866{col 39}{space 1}    0.30{col 48}{space 3}0.768{col 69}{space 3} .0281992
{txt}{space 6}income92 {c |}{col 16}{res}{space 2} .0616431{col 28}{space 2} .2881167{col 39}{space 1}    0.21{col 48}{space 3}0.831{col 69}{space 3} .0193907
{txt}{space 6}female92 {c |}{col 16}{res}{space 2} 4.647785{col 28}{space 2} 3.324856{col 39}{space 1}    1.40{col 48}{space 3}0.165{col 69}{space 3} .1165099
{txt}{space 7}black92 {c |}{col 16}{res}{space 2}-6.715542{col 28}{space 2} 5.274921{col 39}{space 1}   -1.27{col 48}{space 3}0.206{col 69}{space 3}-.1123523
{txt}{space 7}south92 {c |}{col 16}{res}{space 2}-1.784323{col 28}{space 2} 3.662207{col 39}{space 1}   -0.49{col 48}{space 3}0.627{col 69}{space 3}-.0430533
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}-6.980754{col 28}{space 2} 11.92355{col 39}{space 1}   -0.59{col 48}{space 3}0.559{col 69}{space 3}        .
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{hline}
-> info3 = 3

      Source {c |}       SS           df       MS      Number of obs   ={res}       268
{txt}{hline 13}{c +}{hline 34}   F(12, 255)      = {res}    17.73
{txt}       Model {c |} {res} 54873.7168        12  4572.80973   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 65781.7966       255   257.96783   {txt}R-squared       ={res}    0.4548
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.4291
{txt}       Total {c |} {res} 120655.513       267  451.893308   {txt}Root MSE        =   {res} 16.061

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   affectpol96{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 69}        Beta
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ppol92 {c |}{col 16}{res}{space 2} .3883768{col 28}{space 2} 1.088371{col 39}{space 1}    0.36{col 48}{space 3}0.722{col 69}{space 3} .0182944
{txt}{space 3}affectpol92 {c |}{col 16}{res}{space 2} .5842415{col 28}{space 2} .0617557{col 39}{space 1}    9.46{col 48}{space 3}0.000{col 69}{space 3}   .55661
{txt}{space 1}pidstrength92 {c |}{col 16}{res}{space 2} .5767887{col 28}{space 2} 1.192584{col 39}{space 1}    0.48{col 48}{space 3}0.629{col 69}{space 3} .0256268
{txt}ideostrength92 {c |}{col 16}{res}{space 2} 3.199827{col 28}{space 2} 1.241812{col 39}{space 1}    2.58{col 48}{space 3}0.011{col 69}{space 3} .1353598
{txt}{space 2}issextreme92 {c |}{col 16}{res}{space 2}   2.2094{col 28}{space 2} 1.699734{col 39}{space 1}    1.30{col 48}{space 3}0.195{col 69}{space 3} .0645869
{txt}{space 4}interest92 {c |}{col 16}{res}{space 2}  .143727{col 28}{space 2} 1.866157{col 39}{space 1}    0.08{col 48}{space 3}0.939{col 69}{space 3} .0037797
{txt}{space 9}edu92 {c |}{col 16}{res}{space 2}-2.004142{col 28}{space 2} .7113178{col 39}{space 1}   -2.82{col 48}{space 3}0.005{col 69}{space 3}-.1482838
{txt}{space 9}age92 {c |}{col 16}{res}{space 2}-.0969095{col 28}{space 2} .0624654{col 39}{space 1}   -1.55{col 48}{space 3}0.122{col 69}{space 3}-.0741029
{txt}{space 6}income92 {c |}{col 16}{res}{space 2} .4303844{col 28}{space 2} .2041666{col 39}{space 1}    2.11{col 48}{space 3}0.036{col 69}{space 3} .1076376
{txt}{space 6}female92 {c |}{col 16}{res}{space 2}-1.107458{col 28}{space 2} 2.022111{col 39}{space 1}   -0.55{col 48}{space 3}0.584{col 69}{space 3}-.0257746
{txt}{space 7}black92 {c |}{col 16}{res}{space 2}-.8890527{col 28}{space 2} 3.685058{col 39}{space 1}   -0.24{col 48}{space 3}0.810{col 69}{space 3}-.0115018
{txt}{space 7}south92 {c |}{col 16}{res}{space 2}-1.778655{col 28}{space 2} 2.186687{col 39}{space 1}   -0.81{col 48}{space 3}0.417{col 69}{space 3}-.0383596
{txt}{space 9}_cons {c |}{col 16}{res}{space 2} 11.77656{col 28}{space 2} 7.579675{col 39}{space 1}    1.55{col 48}{space 3}0.121{col 69}{space 3}        .
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
{txt}end of do-file

{com}. clear

. use "/Users/adamenders/Dropbox/Perceived vs. Affective Polarization/Data and Code/08-09 Panel/2008 panel.dta"
{txt}(Written by R.              )

{com}. do "/var/folders/xb/ddtsf7g93xd57f7hhtnm9lyc0000gp/T//SD60023.000000"
{txt}
{com}. ********************************************************************************
. ********************************************************************************
. ********************************************************************************
. ********************************************************************************
. 
. ****
. ** Open ANES 2008-2009 Panel
. ****
. 
. set more off
{txt}
{com}. 
. * use "2008 panel.dta"
. 
. ********************************************************************************
. 
. ****
. ** Data cleaning and recoding
. ****
. 
. ** WAVE 6 
. 
. * McCain
. 
. * amend const for same sex
. gen gaymccain6 = .
{txt}(4,240 missing values generated)

{com}. replace gaymccain6 = 4 if W6PJ1 == 12
{txt}(327 real changes made)

{com}. replace gaymccain6 = 1 if W6PJ2_OP == 10
{txt}(339 real changes made)

{com}. replace gaymccain6 = 2 if W6PJ2_OP == 11
{txt}(203 real changes made)

{com}. replace gaymccain6 = 3 if W6PJ2_OP == 12
{txt}(51 real changes made)

{com}. replace gaymccain6 = 5 if W6PJ2_FA == 12
{txt}(36 real changes made)

{com}. replace gaymccain6 = 6 if W6PJ2_FA == 11
{txt}(195 real changes made)

{com}. replace gaymccain6 = 7 if W6PJ2_FA== 10
{txt}(250 real changes made)

{com}. 
. * tax the rich
. gen taxmccain6 = . 
{txt}(4,240 missing values generated)

{com}. replace taxmccain6 = 4 if W6PJ4 == 12
{txt}(392 real changes made)

{com}. replace taxmccain6 = 1 if W6PJ5_OP == 10
{txt}(392 real changes made)

{com}. replace taxmccain6 = 2 if W6PJ5_OP == 11
{txt}(312 real changes made)

{com}. replace taxmccain6 = 3 if W6PJ5_OP == 12
{txt}(46 real changes made)

{com}. replace taxmccain6 = 5 if W6PJ5_FA == 12
{txt}(50 real changes made)

{com}. replace taxmccain6 = 6 if W6PJ5_FA == 11
{txt}(138 real changes made)

{com}. replace taxmccain6 = 7 if W6PJ5_FA == 10
{txt}(72 real changes made)

{com}. 
. * gov pay for seniors' prescription drugs 
. gen scriptmccain6 = .
{txt}(4,240 missing values generated)

{com}. replace scriptmccain6 = 4 if W6PJ7 == 12
{txt}(419 real changes made)

{com}. replace scriptmccain6 = 1 if W6PJ8_OP == 10
{txt}(319 real changes made)

{com}. replace scriptmccain6 = 2 if W6PJ8_OP == 11
{txt}(330 real changes made)

{com}. replace scriptmccain6= 3 if  W6PJ8_OP == 12
{txt}(97 real changes made)

{com}. replace scriptmccain6 = 5 if W6PJ8_FA == 12
{txt}(39 real changes made)

{com}. replace scriptmccain6 = 6 if W6PJ8_FA == 11
{txt}(112 real changes made)

{com}. replace scriptmccain6 = 7 if W6PJ8_FA == 10
{txt}(86 real changes made)

{com}. 
. * gov pay for medical care
. gen healthmccain6 = .
{txt}(4,240 missing values generated)

{com}. replace healthmccain6 = 4 if W6PJ13 == 12
{txt}(418 real changes made)

{com}. replace healthmccain6 = 1 if W6PJ14_O == 10
{txt}(433 real changes made)

{com}. replace healthmccain6 = 2 if W6PJ14_O == 11
{txt}(359 real changes made)

{com}. replace healthmccain6= 3 if W6PJ14_O == 12
{txt}(61 real changes made)

{com}. replace healthmccain6 = 5 if W6PJ14_F == 12
{txt}(33 real changes made)

{com}. replace healthmccain6 = 6 if W6PJ14_F == 11
{txt}(71 real changes made)

{com}. replace healthmccain6 = 7 if W6PJ14_F == 10
{txt}(29 real changes made)

{com}. 
. * detain terrorists 
. gen terrormccain6 = .
{txt}(4,240 missing values generated)

{com}. replace terrormccain6 = 4 if W6PJ16 == 12
{txt}(370 real changes made)

{com}. replace terrormccain6 = 1 if W6PJ17_O== 10
{txt}(114 real changes made)

{com}. replace terrormccain6 = 2 if W6PJ17_O == 11
{txt}(179 real changes made)

{com}. replace terrormccain6= 3 if  W6PJ17_O == 12
{txt}(48 real changes made)

{com}. replace terrormccain6 = 5 if W6PJ17_F == 12
{txt}(94 real changes made)

{com}. replace terrormccain6 = 6 if W6PJ17_F == 11
{txt}(283 real changes made)

{com}. replace terrormccain6 = 7 if W6PJ17_F == 10
{txt}(314 real changes made)

{com}. 
. * Need FISA warrant to wiretap terrorists? 
. gen fisamccain6 = .
{txt}(4,240 missing values generated)

{com}. replace fisamccain6 = 4 if W6PJ19 == 12
{txt}(416 real changes made)

{com}. replace fisamccain6 = 1 if W6PJ20_O == 10
{txt}(219 real changes made)

{com}. replace fisamccain6 = 2 if W6PJ20_O == 11
{txt}(275 real changes made)

{com}. replace fisamccain6 = 3 if W6PJ20_O == 12
{txt}(56 real changes made)

{com}. replace fisamccain6 = 5 if W6PJ20_F == 12
{txt}(62 real changes made)

{com}. replace fisamccain6 = 6 if W6PJ20_F == 11
{txt}(220 real changes made)

{com}. replace fisamccain6 = 7 if W6PJ20_F == 10
{txt}(152 real changes made)

{com}. 
. * Let immigrants work for 3 years, then send them back 
. gen immigrantsmccain6 = .
{txt}(4,240 missing values generated)

{com}. replace immigrantsmccain6 = 4 if W6PJ22 == 12
{txt}(443 real changes made)

{com}. replace immigrantsmccain6 = 1 if W6PJ23_O == 10
{txt}(165 real changes made)

{com}. replace immigrantsmccain6 = 2 if W6PJ23_O == 11
{txt}(261 real changes made)

{com}. replace immigrantsmccain6 = 3 if W6PJ23_O == 12
{txt}(51 real changes made)

{com}. replace immigrantsmccain6 = 5 if W6PJ23_F == 12
{txt}(80 real changes made)

{com}. replace immigrantsmccain6 = 6 if W6PJ23_F == 11
{txt}(253 real changes made)

{com}. replace immigrantsmccain6 = 7 if W6PJ23_F == 10
{txt}(149 real changes made)

{com}. 
. * allowing immigrants to become citizens
. gen citizenmccain6 = .
{txt}(4,240 missing values generated)

{com}. replace citizenmccain6 = 4 if W6PJ25 == 12
{txt}(450 real changes made)

{com}. replace citizenmccain6 = 1 if W6PJ26_O == 10
{txt}(157 real changes made)

{com}. replace citizenmccain6 = 2 if W6PJ26_O == 11
{txt}(217 real changes made)

{com}. replace citizenmccain6 = 3 if W6PJ26_O == 12
{txt}(61 real changes made)

{com}. replace citizenmccain6 = 5 if W6PJ26_F == 12
{txt}(87 real changes made)

{com}. replace citizenmccain6 = 6 if W6PJ26_F == 11
{txt}(282 real changes made)

{com}. replace citizenmccain6 = 7 if W6PJ26_F == 10
{txt}(148 real changes made)

{com}. 
. ** Obama
. 
. * amend const for same sex
. gen gayobama6 = .
{txt}(4,240 missing values generated)

{com}. replace gayobama6 = 4 if W6PB1 == 12
{txt}(453 real changes made)

{com}. replace gayobama6 = 1 if W6PB2_OP == 10
{txt}(201 real changes made)

{com}. replace gayobama6 = 2 if W6PB2_OP == 11
{txt}(209 real changes made)

{com}. replace gayobama6 = 3 if W6PB2_OP == 12
{txt}(40 real changes made)

{com}. replace gayobama6 = 5 if W6PB2_FA == 12
{txt}(36 real changes made)

{com}. replace gayobama6 = 6 if W6PB2_FA == 11
{txt}(122 real changes made)

{com}. replace gayobama6 = 7 if W6PB2_FA== 10
{txt}(40 real changes made)

{com}. 
. * tax the rich
. gen taxobama6 = . 
{txt}(4,240 missing values generated)

{com}. replace taxobama6 = 4 if W6PB4 == 12
{txt}(206 real changes made)

{com}. replace taxobama6 = 1 if W6PB5_OP == 10
{txt}(20 real changes made)

{com}. replace taxobama6 = 2 if W6PB5_OP == 11
{txt}(47 real changes made)

{com}. replace taxobama6 = 3 if W6PB5_OP == 12
{txt}(19 real changes made)

{com}. replace taxobama6 = 5 if W6PB5_FA == 12
{txt}(58 real changes made)

{com}. replace taxobama6 = 6 if W6PB5_FA == 11
{txt}(297 real changes made)

{com}. replace taxobama6 = 7 if W6PB5_FA == 10
{txt}(455 real changes made)

{com}. 
. * gov pay for seniors' prescription drugs 
. gen scriptobama6 = .
{txt}(4,240 missing values generated)

{com}. replace scriptobama6 = 4 if W6PB7 == 12
{txt}(234 real changes made)

{com}. replace scriptobama6 = 1 if W6PB8_OP == 10
{txt}(252 real changes made)

{com}. replace scriptobama6 = 2 if W6PB8_OP == 11
{txt}(245 real changes made)

{com}. replace scriptobama6= 3 if  W6PB8_OP == 12
{txt}(62 real changes made)

{com}. replace scriptobama6 = 5 if W6PB8_FA == 12
{txt}(26 real changes made)

{com}. replace scriptobama6 = 6 if W6PB8_FA == 11
{txt}(129 real changes made)

{com}. replace scriptobama6 = 7 if W6PB8_FA == 10
{txt}(153 real changes made)

{com}. 
. * gov pay for medical care
. gen healthobama6 = .
{txt}(4,240 missing values generated)

{com}. replace healthobama6 = 4 if W6PB13 == 12
{txt}(376 real changes made)

{com}. replace healthobama6 = 1 if W6PB14_O == 10
{txt}(56 real changes made)

{com}. replace healthobama6 = 2 if W6PB14_O == 11
{txt}(104 real changes made)

{com}. replace healthobama6= 3 if W6PB14_O == 12
{txt}(25 real changes made)

{com}. replace healthobama6 = 5 if W6PB14_F == 12
{txt}(62 real changes made)

{com}. replace healthobama6 = 6 if W6PB14_F == 11
{txt}(233 real changes made)

{com}. replace healthobama6 = 7 if W6PB14_F == 10
{txt}(243 real changes made)

{com}. 
. * detain terrorists 
. gen terrorobama6 = .
{txt}(4,240 missing values generated)

{com}. replace terrorobama6 = 4 if W6PB16 == 12
{txt}(296 real changes made)

{com}. replace terrorobama6 = 1 if W6PB17_O== 10
{txt}(424 real changes made)

{com}. replace terrorobama6 = 2 if W6PB17_O == 11
{txt}(266 real changes made)

{com}. replace terrorobama6= 3 if  W6PB17_O == 12
{txt}(50 real changes made)

{com}. replace terrorobama6 = 5 if W6PB17_F == 12
{txt}(15 real changes made)

{com}. replace terrorobama6 = 6 if W6PB17_F == 11
{txt}(23 real changes made)

{com}. replace terrorobama6 = 7 if W6PB17_F == 10
{txt}(27 real changes made)

{com}. 
. * Need FISA warrant to wiretap terrorists? 
. gen fisaobama6 = .
{txt}(4,240 missing values generated)

{com}. replace fisaobama6 = 4 if W6PB19 == 12
{txt}(292 real changes made)

{com}. replace fisaobama6 = 1 if W6PB20_O == 10
{txt}(48 real changes made)

{com}. replace fisaobama6 = 2 if W6PB20_O == 11
{txt}(82 real changes made)

{com}. replace fisaobama6 = 3 if W6PB20_O == 12
{txt}(22 real changes made)

{com}. replace fisaobama6 = 5 if W6PB20_F == 12
{txt}(50 real changes made)

{com}. replace fisaobama6 = 6 if W6PB20_F == 11
{txt}(246 real changes made)

{com}. replace fisaobama6 = 7 if W6PB20_F == 10
{txt}(362 real changes made)

{com}. 
. * Let immigrants work for 3 years, then send them back 
. gen immigrantsobama6 = .
{txt}(4,240 missing values generated)

{com}. replace immigrantsobama6 = 4 if W6PB22 == 12
{txt}(467 real changes made)

{com}. replace immigrantsobama6 = 1 if W6PB23_O == 10
{txt}(67 real changes made)

{com}. replace immigrantsobama6 = 2 if W6PB23_O == 11
{txt}(131 real changes made)

{com}. replace immigrantsobama6 = 3 if W6PB23_O == 12
{txt}(24 real changes made)

{com}. replace immigrantsobama6 = 5 if W6PB23_F == 12
{txt}(56 real changes made)

{com}. replace immigrantsobama6 = 6 if W6PB23_F == 11
{txt}(224 real changes made)

{com}. replace immigrantsobama6 = 7 if W6PB23_F == 10
{txt}(132 real changes made)

{com}. 
. * allowing immigrants to become citizens
. gen citizenobama6 = .
{txt}(4,240 missing values generated)

{com}. replace citizenobama6 = 4 if W6PB25 == 12
{txt}(320 real changes made)

{com}. replace citizenobama6 = 1 if W6PB26_O == 10
{txt}(23 real changes made)

{com}. replace citizenobama6 = 2 if W6PB26_O == 11
{txt}(52 real changes made)

{com}. replace citizenobama6 = 3 if W6PB26_O == 12
{txt}(17 real changes made)

{com}. replace citizenobama6 = 5 if W6PB26_F == 12
{txt}(68 real changes made)

{com}. replace citizenobama6 = 6 if W6PB26_F == 11
{txt}(353 real changes made)

{com}. replace citizenobama6 = 7 if W6PB26_F == 10
{txt}(267 real changes made)

{com}. 
. 
. 
. ** WAVE 9
. 
. ** McCain
. * amend const for same sex
. gen gaymccain9 = .
{txt}(4,240 missing values generated)

{com}. replace gaymccain9 = 4 if W9PJ1 == 12
{txt}(550 real changes made)

{com}. replace gaymccain9 = 1 if W9PJ2_O == 10
{txt}(547 real changes made)

{com}. replace gaymccain9 = 2 if W9PJ2_O == 11
{txt}(310 real changes made)

{com}. replace gaymccain9 = 3 if W9PJ2_O == 12
{txt}(60 real changes made)

{com}. replace gaymccain9 = 5 if W9PJ2_F == 12
{txt}(92 real changes made)

{com}. replace gaymccain9 = 6 if W9PJ2_F == 11
{txt}(413 real changes made)

{com}. replace gaymccain9 = 7 if W9PJ2_F== 10
{txt}(719 real changes made)

{com}. 
. * tax the rich
. gen taxmccain9 = . 
{txt}(4,240 missing values generated)

{com}. replace taxmccain9 = 4 if W9PJ4 == 12
{txt}(524 real changes made)

{com}. replace taxmccain9 = 1 if W9PJ5_O == 10
{txt}(1,024 real changes made)

{com}. replace taxmccain9 = 2 if W9PJ5_O == 11
{txt}(582 real changes made)

{com}. replace taxmccain9 = 3 if W9PJ5_O == 12
{txt}(88 real changes made)

{com}. replace taxmccain9 = 5 if W9PJ5_F == 12
{txt}(63 real changes made)

{com}. replace taxmccain9 = 6 if W9PJ5_F == 11
{txt}(257 real changes made)

{com}. replace taxmccain9 = 7 if W9PJ5_F == 10
{txt}(151 real changes made)

{com}. 
. * gov pay for seniors' prescription drugs 
. 
. gen scriptmccain9 = .
{txt}(4,240 missing values generated)

{com}. replace scriptmccain9 = 4 if W9PJ7 == 12
{txt}(609 real changes made)

{com}. replace scriptmccain9 = 1 if W9PJ8_O == 10
{txt}(854 real changes made)

{com}. replace scriptmccain9 = 2 if W9PJ8_O == 11
{txt}(589 real changes made)

{com}. replace scriptmccain9= 3 if  W9PJ8_O == 12
{txt}(99 real changes made)

{com}. replace scriptmccain9 = 5 if W9PJ8_F == 12
{txt}(71 real changes made)

{com}. replace scriptmccain9 = 6 if W9PJ8_F == 11
{txt}(244 real changes made)

{com}. replace scriptmccain9 = 7 if W9PJ8_F == 10
{txt}(221 real changes made)

{com}. 
.  
. * gov pay for medical care
. gen healthmccain9 = .
{txt}(4,240 missing values generated)

{com}. replace healthmccain9 = 4 if W9PJ13 == 12
{txt}(773 real changes made)

{com}. replace healthmccain9 = 1 if W9PJ14_O == 10
{txt}(917 real changes made)

{com}. replace healthmccain9 = 2 if W9PJ14_O == 11
{txt}(639 real changes made)

{com}. replace healthmccain9= 3 if W9PJ14_O == 12
{txt}(98 real changes made)

{com}. replace healthmccain9 = 5 if W9PJ14_F == 12
{txt}(46 real changes made)

{com}. replace healthmccain9 = 6 if W9PJ14_F == 11
{txt}(134 real changes made)

{com}. replace healthmccain9 = 7 if W9PJ14_F == 10
{txt}(82 real changes made)

{com}. 
. * detain terrorists 
. gen terrormccain9 = .
{txt}(4,240 missing values generated)

{com}. replace terrormccain9 = 4 if W9PJ16 == 12
{txt}(664 real changes made)

{com}. replace terrormccain9 = 1 if W9PJ17_O== 10
{txt}(269 real changes made)

{com}. replace terrormccain9 = 2 if W9PJ17_O == 11
{txt}(334 real changes made)

{com}. replace terrormccain9= 3 if  W9PJ17_O == 12
{txt}(64 real changes made)

{com}. replace terrormccain9 = 5 if W9PJ17_F == 12
{txt}(140 real changes made)

{com}. replace terrormccain9 = 6 if W9PJ17_F == 11
{txt}(556 real changes made)

{com}. replace terrormccain9 = 7 if W9PJ17_F == 10
{txt}(659 real changes made)

{com}. 
. * Need FISA warrant to wiretap terrorists? 
. gen fisamccain9 = .
{txt}(4,240 missing values generated)

{com}. replace fisamccain9 = 4 if W9PJ19 == 12
{txt}(694 real changes made)

{com}. replace fisamccain9 = 1 if W9PJ20_O == 10
{txt}(524 real changes made)

{com}. replace fisamccain9 = 2 if W9PJ20_O == 11
{txt}(540 real changes made)

{com}. replace fisamccain9 = 3 if W9PJ20_O == 12
{txt}(96 real changes made)

{com}. replace fisamccain9 = 5 if W9PJ20_F == 12
{txt}(99 real changes made)

{com}. replace fisamccain9 = 6 if W9PJ20_F == 11
{txt}(429 real changes made)

{com}. replace fisamccain9 = 7 if W9PJ20_F == 10
{txt}(304 real changes made)

{com}. 
. * Let immigrants work for 3 years, then send them back 
. gen immigrantsmccain9 = .
{txt}(4,240 missing values generated)

{com}. replace immigrantsmccain9 = 4 if W9PJ22 == 12
{txt}(780 real changes made)

{com}. replace immigrantsmccain9 = 1 if W9PJ23_O == 10
{txt}(396 real changes made)

{com}. replace immigrantsmccain9 = 2 if W9PJ23_O == 11
{txt}(447 real changes made)

{com}. replace immigrantsmccain9 = 3 if W9PJ23_O == 12
{txt}(100 real changes made)

{com}. replace immigrantsmccain9 = 5 if W9PJ23_F == 12
{txt}(119 real changes made)

{com}. replace immigrantsmccain9 = 6 if W9PJ23_F == 11
{txt}(534 real changes made)

{com}. replace immigrantsmccain9 = 7 if W9PJ23_F == 10
{txt}(310 real changes made)

{com}. 
. * allowing immigrants to become citizens
. gen citizenmccain9 = .
{txt}(4,240 missing values generated)

{com}. replace citizenmccain9 = 4 if W9PJ25 == 12
{txt}(855 real changes made)

{com}. replace citizenmccain9 = 1 if W9PJ26_O == 10
{txt}(318 real changes made)

{com}. replace citizenmccain9 = 2 if W9PJ26_O == 11
{txt}(410 real changes made)

{com}. replace citizenmccain9 = 3 if W9PJ26_O == 12
{txt}(93 real changes made)

{com}. replace citizenmccain9 = 5 if W9PJ26_F == 12
{txt}(159 real changes made)

{com}. replace citizenmccain9 = 6 if W9PJ26_F == 11
{txt}(564 real changes made)

{com}. replace citizenmccain9 = 7 if W9PJ26_F == 10
{txt}(286 real changes made)

{com}. 
. 
. 
. ** Obama
. 
. * amend const for same sex
. gen gayobama9 = .
{txt}(4,240 missing values generated)

{com}. replace gayobama9 = 4 if W9PB1 == 12
{txt}(969 real changes made)

{com}. replace gayobama9 = 1 if W9PB2_OP == 10
{txt}(553 real changes made)

{com}. replace gayobama9 = 2 if W9PB2_OP == 11
{txt}(602 real changes made)

{com}. replace gayobama9 = 3 if W9PB2_OP == 12
{txt}(98 real changes made)

{com}. replace gayobama9 = 5 if W9PB2_FA == 12
{txt}(70 real changes made)

{com}. replace gayobama9 = 6 if W9PB2_FA == 11
{txt}(271 real changes made)

{com}. replace gayobama9 = 7 if W9PB2_FA== 10
{txt}(132 real changes made)

{com}. 
. * tax the rich
. gen taxobama9 = . 
{txt}(4,240 missing values generated)

{com}. replace taxobama9 = 4 if W9PB4 == 12
{txt}(304 real changes made)

{com}. replace taxobama9 = 1 if W9PB5_OP == 10
{txt}(60 real changes made)

{com}. replace taxobama9 = 2 if W9PB5_OP == 11
{txt}(108 real changes made)

{com}. replace taxobama9 = 3 if W9PB5_OP == 12
{txt}(19 real changes made)

{com}. replace taxobama9 = 5 if W9PB5_FA == 12
{txt}(99 real changes made)

{com}. replace taxobama9 = 6 if W9PB5_FA == 11
{txt}(710 real changes made)

{com}. replace taxobama9 = 7 if W9PB5_FA == 10
{txt}(1,394 real changes made)

{com}. 
. * gov pay for seniors' prescription drugs 
. gen scriptobama9 = .
{txt}(4,240 missing values generated)

{com}. replace scriptobama9 = 4 if W9PB7 == 12
{txt}(398 real changes made)

{com}. replace scriptobama9 = 1 if W9PB8_OP == 10
{txt}(820 real changes made)

{com}. replace scriptobama9 = 2 if W9PB8_OP == 11
{txt}(574 real changes made)

{com}. replace scriptobama9= 3 if  W9PB8_OP == 12
{txt}(111 real changes made)

{com}. replace scriptobama9 = 5 if W9PB8_FA == 12
{txt}(75 real changes made)

{com}. replace scriptobama9 = 6 if W9PB8_FA == 11
{txt}(334 real changes made)

{com}. replace scriptobama9 = 7 if W9PB8_FA == 10
{txt}(384 real changes made)

{com}. 
. * gov pay for medical care
. gen healthobama9 = .
{txt}(4,240 missing values generated)

{com}. replace healthobama9 = 4 if W9PB13 == 12
{txt}(840 real changes made)

{com}. replace healthobama9 = 1 if W9PB14_O == 10
{txt}(125 real changes made)

{com}. replace healthobama9 = 2 if W9PB14_O == 11
{txt}(245 real changes made)

{com}. replace healthobama9= 3 if W9PB14_O == 12
{txt}(53 real changes made)

{com}. replace healthobama9 = 5 if W9PB14_F == 12
{txt}(133 real changes made)

{com}. replace healthobama9 = 6 if W9PB14_F == 11
{txt}(586 real changes made)

{com}. replace healthobama9 = 7 if W9PB14_F == 10
{txt}(714 real changes made)

{com}. 
. * detain terrorists 
. gen terrorobama9 = .
{txt}(4,240 missing values generated)

{com}. replace terrorobama9 = 4 if W9PB16 == 12
{txt}(637 real changes made)

{com}. replace terrorobama9 = 1 if W9PB17_O== 10
{txt}(1,146 real changes made)

{com}. replace terrorobama9 = 2 if W9PB17_O == 11
{txt}(659 real changes made)

{com}. replace terrorobama9= 3 if  W9PB17_O == 12
{txt}(79 real changes made)

{com}. replace terrorobama9 = 5 if W9PB17_F == 12
{txt}(27 real changes made)

{com}. replace terrorobama9 = 6 if W9PB17_F == 11
{txt}(92 real changes made)

{com}. replace terrorobama9 = 7 if W9PB17_F == 10
{txt}(52 real changes made)

{com}. 
. * Need FISA warrant to wiretap terrorists? 
. gen fisaobama9 = .
{txt}(4,240 missing values generated)

{com}. replace fisaobama9 = 4 if W9PB19 == 12
{txt}(697 real changes made)

{com}. replace fisaobama9 = 1 if W9PB20_O == 10
{txt}(113 real changes made)

{com}. replace fisaobama9 = 2 if W9PB20_O == 11
{txt}(164 real changes made)

{com}. replace fisaobama9 = 3 if W9PB20_O == 12
{txt}(37 real changes made)

{com}. replace fisaobama9 = 5 if W9PB20_F == 12
{txt}(95 real changes made)

{com}. replace fisaobama9 = 6 if W9PB20_F == 11
{txt}(648 real changes made)

{com}. replace fisaobama9 = 7 if W9PB20_F == 10
{txt}(936 real changes made)

{com}. 
. * Let immigrants work for 3 years, then send them back 
. gen immigrantsobama9 = .
{txt}(4,240 missing values generated)

{com}. replace immigrantsobama9 = 4 if W9PB22 == 12
{txt}(1,086 real changes made)

{com}. replace immigrantsobama9 = 1 if W9PB23_O == 10
{txt}(170 real changes made)

{com}. replace immigrantsobama9 = 2 if W9PB23_O == 11
{txt}(314 real changes made)

{com}. replace immigrantsobama9 = 3 if W9PB23_O == 12
{txt}(59 real changes made)

{com}. replace immigrantsobama9 = 5 if W9PB23_F == 12
{txt}(125 real changes made)

{com}. replace immigrantsobama9 = 6 if W9PB23_F == 11
{txt}(609 real changes made)

{com}. replace immigrantsobama9 = 7 if W9PB23_F == 10
{txt}(320 real changes made)

{com}. 
. * allowing immigrants to become citizens
. gen citizenobama9 = .
{txt}(4,240 missing values generated)

{com}. replace citizenobama9 = 4 if W9PB25 == 12
{txt}(732 real changes made)

{com}. replace citizenobama9 = 1 if W9PB26_O == 10
{txt}(61 real changes made)

{com}. replace citizenobama9 = 2 if W9PB26_O == 11
{txt}(129 real changes made)

{com}. replace citizenobama9 = 3 if W9PB26_O == 12
{txt}(32 real changes made)

{com}. replace citizenobama9 = 5 if W9PB26_F == 12
{txt}(148 real changes made)

{com}. replace citizenobama9 = 6 if W9PB26_F == 11
{txt}(897 real changes made)

{com}. replace citizenobama9 = 7 if W9PB26_F == 10
{txt}(690 real changes made)

{com}. 
. 
. * ideological differences
. 
. gen mccainideo6 = .
{txt}(4,240 missing values generated)

{com}. replace mccainideo6 = 1 if W6H10 == 10
{txt}(39 real changes made)

{com}. replace mccainideo6 = 2 if W6H10 == 11
{txt}(78 real changes made)

{com}. replace mccainideo6 = 3 if W6H12 == 10
{txt}(37 real changes made)

{com}. replace mccainideo6 = 4 if W6H12 == 12
{txt}(226 real changes made)

{com}. replace mccainideo6 = 5 if W6H12 == 11
{txt}(172 real changes made)

{com}. replace mccainideo6 = 6 if W6H11 == 11
{txt}(537 real changes made)

{com}. replace mccainideo6 = 7 if W6H11 == 10
{txt}(314 real changes made)

{com}. 
. gen mccainideo9 = .
{txt}(4,240 missing values generated)

{com}. replace mccainideo9 = 1 if W9M10 == 10
{txt}(60 real changes made)

{com}. replace mccainideo9 = 2 if W9M10 == 11
{txt}(139 real changes made)

{com}. replace mccainideo9 = 3 if W9M12 == 10
{txt}(62 real changes made)

{com}. replace mccainideo9 = 4 if W9M12 == 12
{txt}(422 real changes made)

{com}. replace mccainideo9 = 5 if W9M12 == 11
{txt}(378 real changes made)

{com}. replace mccainideo9 = 6 if W9M11 == 11
{txt}(962 real changes made)

{com}. replace mccainideo9 = 7 if W9M11 == 10
{txt}(698 real changes made)

{com}. 
. gen obamaideo6 = .
{txt}(4,240 missing values generated)

{com}. replace obamaideo6 = 1 if W6H6 == 10
{txt}(552 real changes made)

{com}. replace obamaideo6 = 2 if W6H6 == 11
{txt}(382 real changes made)

{com}. replace obamaideo6 = 3 if W6H8 == 10
{txt}(126 real changes made)

{com}. replace obamaideo6 = 4 if W6H8 == 12
{txt}(228 real changes made)

{com}. replace obamaideo6 = 5 if W6H8 == 11
{txt}(27 real changes made)

{com}. replace obamaideo6 = 6 if W6H7 == 11
{txt}(70 real changes made)

{com}. replace obamaideo6 = 7 if W6H7 == 10
{txt}(21 real changes made)

{com}. 
. gen obamaideo9 = .
{txt}(4,240 missing values generated)

{com}. replace obamaideo9 = 1 if W9M6 == 10
{txt}(1,072 real changes made)

{com}. replace obamaideo9 = 2 if W9M6 == 11
{txt}(669 real changes made)

{com}. replace obamaideo9 = 3 if W9M8 == 10
{txt}(336 real changes made)

{com}. replace obamaideo9 = 4 if W9M8 == 12
{txt}(448 real changes made)

{com}. replace obamaideo9 = 5 if W9M8 == 11
{txt}(55 real changes made)

{com}. replace obamaideo9 = 6 if W9M7 == 11
{txt}(107 real changes made)

{com}. replace obamaideo9 = 7 if W9M7 == 10
{txt}(37 real changes made)

{com}. 
. **** perceived candidate differences 
. 
. * wave 6
. 
. gen gay6 = abs(gaymccain6-gayobama6)
{txt}(3,145 missing values generated)

{com}. gen tax6 = abs(taxmccain6-taxobama6)
{txt}(3,142 missing values generated)

{com}. gen script6 = abs(scriptmccain6-scriptobama6)
{txt}(3,143 missing values generated)

{com}. gen health6 = abs(healthmccain6-healthobama6)
{txt}(3,143 missing values generated)

{com}. gen terror6 = abs(terrormccain6-terrorobama6)
{txt}(3,143 missing values generated)

{com}. gen fisa6 = abs(fisamccain6-fisaobama6)
{txt}(3,144 missing values generated)

{com}. gen immigrants6 = abs(immigrantsmccain6-immigrantsobama6)
{txt}(3,145 missing values generated)

{com}. gen citizen6 = abs(citizenmccain6-citizenobama6)
{txt}(3,143 missing values generated)

{com}. gen ideo6 = abs(mccainideo6-obamaideo6)
{txt}(2,844 missing values generated)

{com}. 
. factor gay6-ideo6, ipf
{txt}(obs=1,072)

Factor analysis/correlation{col 50}Number of obs    = {res}     1,072
{col 5}{txt}Method: iterated principal factors{col 50}Retained factors =   {res}       8
{col 5}{txt}Rotation: (unrotated){col 50}Number of params =   {res}      36

{txt}{col 5}{hline 13}{c TT}{hline 60}
{col 5}     Factor  {c |} {ralign 12:Eigenvalue}   Difference        Proportion   Cumulative
{col 5}{hline 13}{c +}{hline 60}
{col 5}{ralign 11:Factor1}  {c |}{res}      2.44655      2.04090            0.6800       0.6800
{txt}{col 5}{ralign 11:Factor2}  {c |}{res}      0.40565      0.11107            0.1128       0.7928
{txt}{col 5}{ralign 11:Factor3}  {c |}{res}      0.29458      0.06550            0.0819       0.8747
{txt}{col 5}{ralign 11:Factor4}  {c |}{res}      0.22909      0.13413            0.0637       0.9383
{txt}{col 5}{ralign 11:Factor5}  {c |}{res}      0.09496      0.01803            0.0264       0.9647
{txt}{col 5}{ralign 11:Factor6}  {c |}{res}      0.07693      0.02740            0.0214       0.9861
{txt}{col 5}{ralign 11:Factor7}  {c |}{res}      0.04953      0.04889            0.0138       0.9999
{txt}{col 5}{ralign 11:Factor8}  {c |}{res}      0.00063      0.00087            0.0002       1.0001
{txt}{col 5}{ralign 11:Factor9}  {c |}{res}     -0.00024            .           -0.0001       1.0000
{txt}{col 5}{hline 13}{c BT}{hline 60}
{col 5}LR test: independent vs. saturated:  chi2({res}36{txt}) ={res} 1495.09{txt} Prob>chi2 ={res} 0.0000

{txt}Factor loadings (pattern matrix) and unique variances

{space 4}{hline 13}{c  TT}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor1}{space 1}{space 1}{ralign 8:Factor2}{space 1}{space 1}{ralign 8:Factor3}{space 1}{space 1}{ralign 8:Factor4}{space 1}{space 1}{ralign 8:Factor5}{space 1}{space 1}{ralign 8:Factor6}{space 1}
{space 4}{hline 13}{c   +}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}
{space 4}{space 0}{ralign 12:gay6}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.4908}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.1246}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.2013}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0100}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0546}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.1656}}}{space 1}
{space 4}{space 0}{ralign 12:tax6}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.6167}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.2539}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0773}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0836}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.1339}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0504}}}{space 1}
{space 4}{space 0}{ralign 12:script6}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.3766}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.2394}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.1550}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.1754}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0199}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0696}}}{space 1}
{space 4}{space 0}{ralign 12:health6}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.5386}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.1928}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0191}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0746}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.1599}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0598}}}{space 1}
{space 4}{space 0}{ralign 12:terror6}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.5915}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0327}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0835}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.2764}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0766}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.1267}}}{space 1}
{space 4}{space 0}{ralign 12:fisa6}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.6227}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.1603}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.2177}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.1916}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0958}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0990}}}{space 1}
{space 4}{space 0}{ralign 12:immigrants6}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.5019}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.3080}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0864}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.1894}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.1012}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0837}}}{space 1}
{space 4}{space 0}{ralign 12:citizen6}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.4880}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.3267}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0094}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.1598}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.1450}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0499}}}{space 1}
{space 4}{space 0}{ralign 12:ideo6}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.4071}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0528}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.4022}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.1058}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0423}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0564}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}

{space 4}{hline 13}{c  TT}{hline 10}{hline 10}{c  TT}{hline 14}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor7}{space 1}{space 1}{ralign 8:Factor8}{space 1}{c |}{space 1}{ralign 12:Uniqueness}{space 1}
{space 4}{hline 13}{c   +}{hline 10}{hline 10}{c   +}{hline 14}
{space 4}{space 0}{ralign 12:gay6}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.0978}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0062}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.6630}}}{space 1}
{space 4}{space 0}{ralign 12:tax6}{space 1}{c |}{space 1}{ralign 8:{res:{sf: -0.0872}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0099}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.5141}}}{space 1}
{space 4}{space 0}{ralign 12:script6}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.1318}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0019}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.7235}}}{space 1}
{space 4}{space 0}{ralign 12:health6}{space 1}{c |}{space 1}{ralign 8:{res:{sf: -0.1053}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0118}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.6265}}}{space 1}
{space 4}{space 0}{ralign 12:terror6}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.0456}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0067}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.5416}}}{space 1}
{space 4}{space 0}{ralign 12:fisa6}{space 1}{c |}{space 1}{ralign 8:{res:{sf: -0.0107}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0080}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.4832}}}{space 1}
{space 4}{space 0}{ralign 12:immigrants6}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.0260}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0093}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.5919}}}{space 1}
{space 4}{space 0}{ralign 12:citizen6}{space 1}{c |}{space 1}{ralign 8:{res:{sf: -0.0234}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0112}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.6053}}}{space 1}
{space 4}{space 0}{ralign 12:ideo6}{space 1}{c |}{space 1}{ralign 8:{res:{sf: -0.0224}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0059}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.6530}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}{hline 10}{c  BT}{hline 14}

{com}. alpha gay6-ideo6, gen(canddiff6)

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} .9631484
{txt}Number of items in the scale:{col 34}{res}        9
{txt}Scale reliability coefficient:{col 34}{res}   0.7534
{txt}
{com}. 
. * wave 9
. 
. gen gay9 = abs(gaymccain9-gayobama9)
{txt}(1,553 missing values generated)

{com}. gen tax9 = abs(taxmccain9-taxobama9)
{txt}(1,552 missing values generated)

{com}. gen script9 = abs(scriptmccain9-scriptobama9)
{txt}(1,553 missing values generated)

{com}. gen health9 = abs(healthmccain9-healthobama9)
{txt}(1,552 missing values generated)

{com}. gen terror9 = abs(terrormccain9-terrorobama9)
{txt}(1,555 missing values generated)

{com}. gen fisa9 = abs(fisamccain9-fisaobama9)
{txt}(1,558 missing values generated)

{com}. gen immigrants9 = abs(immigrantsmccain9-immigrantsobama9)
{txt}(1,562 missing values generated)

{com}. gen citizen9 = abs(citizenmccain9-citizenobama9)
{txt}(1,557 missing values generated)

{com}. gen ideo9 = abs(mccainideo9-obamaideo9)
{txt}(1,519 missing values generated)

{com}. 
. factor gay9-ideo9, ipf
{txt}(obs=2,659)

Factor analysis/correlation{col 50}Number of obs    = {res}     2,659
{col 5}{txt}Method: iterated principal factors{col 50}Retained factors =   {res}       8
{col 5}{txt}Rotation: (unrotated){col 50}Number of params =   {res}      36

{txt}{col 5}{hline 13}{c TT}{hline 60}
{col 5}     Factor  {c |} {ralign 12:Eigenvalue}   Difference        Proportion   Cumulative
{col 5}{hline 13}{c +}{hline 60}
{col 5}{ralign 11:Factor1}  {c |}{res}      2.09676      1.60297            0.6394       0.6394
{txt}{col 5}{ralign 11:Factor2}  {c |}{res}      0.49379      0.20181            0.1506       0.7900
{txt}{col 5}{ralign 11:Factor3}  {c |}{res}      0.29198      0.05693            0.0890       0.8791
{txt}{col 5}{ralign 11:Factor4}  {c |}{res}      0.23505      0.13977            0.0717       0.9508
{txt}{col 5}{ralign 11:Factor5}  {c |}{res}      0.09529      0.05251            0.0291       0.9798
{txt}{col 5}{ralign 11:Factor6}  {c |}{res}      0.04278      0.02489            0.0130       0.9929
{txt}{col 5}{ralign 11:Factor7}  {c |}{res}      0.01788      0.01212            0.0055       0.9983
{txt}{col 5}{ralign 11:Factor8}  {c |}{res}      0.00576      0.00601            0.0018       1.0001
{txt}{col 5}{ralign 11:Factor9}  {c |}{res}     -0.00024            .           -0.0001       1.0000
{txt}{col 5}{hline 13}{c BT}{hline 60}
{col 5}LR test: independent vs. saturated:  chi2({res}36{txt}) ={res} 2949.78{txt} Prob>chi2 ={res} 0.0000

{txt}Factor loadings (pattern matrix) and unique variances

{space 4}{hline 13}{c  TT}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor1}{space 1}{space 1}{ralign 8:Factor2}{space 1}{space 1}{ralign 8:Factor3}{space 1}{space 1}{ralign 8:Factor4}{space 1}{space 1}{ralign 8:Factor5}{space 1}{space 1}{ralign 8:Factor6}{space 1}
{space 4}{hline 13}{c   +}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}
{space 4}{space 0}{ralign 12:gay9}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.4440}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0374}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0287}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.3134}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0013}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.1109}}}{space 1}
{space 4}{space 0}{ralign 12:tax9}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.5321}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.3214}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0298}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.1628}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.1559}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0509}}}{space 1}
{space 4}{space 0}{ralign 12:script9}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.3238}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0953}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.1698}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0896}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0218}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0680}}}{space 1}
{space 4}{space 0}{ralign 12:health9}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.5244}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.2495}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.1410}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.1319}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.1526}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0386}}}{space 1}
{space 4}{space 0}{ralign 12:terror9}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.5483}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0544}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.3299}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0074}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0371}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0175}}}{space 1}
{space 4}{space 0}{ralign 12:fisa9}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.5742}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0052}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.2756}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0029}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0827}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0304}}}{space 1}
{space 4}{space 0}{ralign 12:immigrants9}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.4498}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.3708}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.1169}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0842}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.1566}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0531}}}{space 1}
{space 4}{space 0}{ralign 12:citizen9}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.4887}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.4073}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.1290}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0518}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.1138}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0710}}}{space 1}
{space 4}{space 0}{ralign 12:ideo9}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.4063}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.1068}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.1626}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.2740}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0390}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.1126}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}{hline 10}

{space 4}{hline 13}{c  TT}{hline 10}{hline 10}{c  TT}{hline 14}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor7}{space 1}{space 1}{ralign 8:Factor8}{space 1}{c |}{space 1}{ralign 12:Uniqueness}{space 1}
{space 4}{hline 13}{c   +}{hline 10}{hline 10}{c   +}{hline 14}
{space 4}{space 0}{ralign 12:gay9}{space 1}{c |}{space 1}{ralign 8:{res:{sf: -0.0282}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0008}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.6894}}}{space 1}
{space 4}{space 0}{ralign 12:tax9}{space 1}{c |}{space 1}{ralign 8:{res:{sf: -0.0225}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0012}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.5588}}}{space 1}
{space 4}{space 0}{ralign 12:script9}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.1076}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0141}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.8324}}}{space 1}
{space 4}{space 0}{ralign 12:health9}{space 1}{c |}{space 1}{ralign 8:{res:{sf: -0.0546}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0028}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.5977}}}{space 1}
{space 4}{space 0}{ralign 12:terror9}{space 1}{c |}{space 1}{ralign 8:{res:{sf: -0.0003}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0466}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.5836}}}{space 1}
{space 4}{space 0}{ralign 12:fisa9}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.0358}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0487}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.5829}}}{space 1}
{space 4}{space 0}{ralign 12:immigrants9}{space 1}{c |}{space 1}{ralign 8:{res:{sf: -0.0110}}}{space 1}{space 1}{ralign 8:{res:{sf: -0.0253}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.6113}}}{space 1}
{space 4}{space 0}{ralign 12:citizen9}{space 1}{c |}{space 1}{ralign 8:{res:{sf: -0.0124}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0193}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.5574}}}{space 1}
{space 4}{space 0}{ralign 12:ideo9}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.0217}}}{space 1}{space 1}{ralign 8:{res:{sf:  0.0025}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.7073}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}{hline 10}{c  BT}{hline 14}

{com}. alpha gay9-ideo9, gen(canddiff9)

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} .8416875
{txt}Number of items in the scale:{col 34}{res}        9
{txt}Scale reliability coefficient:{col 34}{res}   0.7079
{txt}
{com}. 
. 
. 
. ******
. *** affective
. *** parties
. ******
. 
. * wave 6
. 
. gen dem6 = . 
{txt}(4,240 missing values generated)

{com}. replace dem6 = 4 if W6E2 == 12 
{txt}(514 real changes made)

{com}. replace dem6 = 1 if W6E4 == 10
{txt}(171 real changes made)

{com}. replace dem6 = 2 if W6E4 == 11
{txt}(136 real changes made)

{com}. replace dem6 = 3 if W6E4 == 12
{txt}(31 real changes made)

{com}. replace dem6 = 5 if W6E3 == 12
{txt}(36 real changes made)

{com}. replace dem6 = 6 if W6E3 == 11
{txt}(289 real changes made)

{com}. replace dem6 = 7 if W6E3 == 10
{txt}(242 real changes made)

{com}. 
. 
. gen rep6 = . 
{txt}(4,240 missing values generated)

{com}. replace rep6 = 4 if W6E5 == 12 
{txt}(555 real changes made)

{com}. replace rep6 = 1 if W6E7 == 10
{txt}(223 real changes made)

{com}. replace rep6 = 2 if W6E7 == 11
{txt}(187 real changes made)

{com}. replace rep6 = 3 if W6E7 == 12
{txt}(43 real changes made)

{com}. replace rep6 = 5 if W6E6 == 12
{txt}(46 real changes made)

{com}. replace rep6 = 6 if W6E6 == 11
{txt}(247 real changes made)

{com}. replace rep6 = 7 if W6E6 == 10
{txt}(118 real changes made)

{com}. 
. 
. * wave 9
. 
. gen dem9 = . 
{txt}(4,240 missing values generated)

{com}. replace dem9 = 4 if W9E2 == 12 
{txt}(1,078 real changes made)

{com}. replace dem9 = 1 if W9E4 == 10
{txt}(337 real changes made)

{com}. replace dem9 = 2 if W9E4 == 11
{txt}(247 real changes made)

{com}. replace dem9 = 3 if W9E4 == 12
{txt}(56 real changes made)

{com}. replace dem9 = 5 if W9E3 == 12
{txt}(52 real changes made)

{com}. replace dem9 = 6 if W9E3 == 11
{txt}(494 real changes made)

{com}. replace dem9 = 7 if W9E3 == 10
{txt}(476 real changes made)

{com}. 
. 
. gen rep9 = . 
{txt}(4,240 missing values generated)

{com}. replace rep9 = 4 if W9E5 == 12 
{txt}(1,068 real changes made)

{com}. replace rep9 = 1 if W9E7 == 10
{txt}(473 real changes made)

{com}. replace rep9 = 2 if W9E7 == 11
{txt}(315 real changes made)

{com}. replace rep9 = 3 if W9E7 == 12
{txt}(57 real changes made)

{com}. replace rep9 = 5 if W9E6 == 12
{txt}(47 real changes made)

{com}. replace rep9 = 6 if W9E6 == 11
{txt}(466 real changes made)

{com}. replace rep9 = 7 if W9E6 == 10
{txt}(315 real changes made)

{com}. 
. ** candidates 
. 
. gen mccain6 = .
{txt}(4,240 missing values generated)

{com}. replace mccain6 = 4 if W6E14 == 12
{txt}(522 real changes made)

{com}. replace mccain6 = 1 if W6E16 == 10
{txt}(139 real changes made)

{com}. replace mccain6 = 2 if W6E16 == 11
{txt}(172 real changes made)

{com}. replace mccain6 = 3 if W6E16 == 12
{txt}(57 real changes made)

{com}. replace mccain6 = 5 if W6E15 == 12
{txt}(104 real changes made)

{com}. replace mccain6 = 6 if W6E15 == 11
{txt}(314 real changes made)

{com}. replace mccain6 = 7 if W6E15 == 10
{txt}(110 real changes made)

{com}. 
. gen mccain9 = .
{txt}(4,240 missing values generated)

{com}. replace mccain9 = 4 if W9E14 == 12
{txt}(883 real changes made)

{com}. replace mccain9 = 1 if W9E16 == 10
{txt}(271 real changes made)

{com}. replace mccain9 = 2 if W9E16 == 11
{txt}(255 real changes made)

{com}. replace mccain9 = 3 if W9E16 == 12
{txt}(84 real changes made)

{com}. replace mccain9 = 5 if W9E15 == 12
{txt}(140 real changes made)

{com}. replace mccain9 = 6 if W9E15 == 11
{txt}(740 real changes made)

{com}. replace mccain9 = 7 if W9E15 == 10
{txt}(367 real changes made)

{com}. 
. gen obama6 = .
{txt}(4,240 missing values generated)

{com}. replace obama6 = 4 if W6E38 == 12
{txt}(390 real changes made)

{com}. replace obama6 = 1 if W6E40 == 10
{txt}(260 real changes made)

{com}. replace obama6 = 2 if W6E40 == 11
{txt}(105 real changes made)

{com}. replace obama6 = 3 if W6E40 == 12
{txt}(28 real changes made)

{com}. replace obama6 = 5 if W6E39 == 12
{txt}(70 real changes made)

{com}. replace obama6 = 6 if W6E39 == 11
{txt}(268 real changes made)

{com}. replace obama6 = 7 if W6E39 == 10
{txt}(297 real changes made)

{com}. 
. gen obama9 = .
{txt}(4,240 missing values generated)

{com}. replace obama9 = 4 if W9E38 == 12
{txt}(729 real changes made)

{com}. replace obama9 = 1 if W9E40 == 10
{txt}(435 real changes made)

{com}. replace obama9 = 2 if W9E40 == 11
{txt}(224 real changes made)

{com}. replace obama9 = 3 if W9E40 == 12
{txt}(66 real changes made)

{com}. replace obama9 = 5 if W9E39 == 12
{txt}(116 real changes made)

{com}. replace obama9 = 6 if W9E39 == 11
{txt}(549 real changes made)

{com}. replace obama9 = 7 if W9E39 == 10
{txt}(623 real changes made)

{com}. 
. 
. ******************************
. *****
. ***** affective polarization
. *****
. ******************************
. 
. 
. gen party6 = abs(rep6-dem6)
{txt}(2,821 missing values generated)

{com}. gen party9 = abs(rep9-dem9)
{txt}(1,500 missing values generated)

{com}. gen cand6 = abs(mccain6-obama6)
{txt}(2,822 missing values generated)

{com}. gen cand9 = abs(mccain9-obama9)
{txt}(1,500 missing values generated)

{com}. 
. alpha party6 cand6, gen(affect6)

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} 2.230268
{txt}Number of items in the scale:{col 34}{res}        2
{txt}Scale reliability coefficient:{col 34}{res}   0.6897
{txt}
{com}. alpha party9 cand9, gen(affect9)

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} 2.595425
{txt}Number of items in the scale:{col 34}{res}        2
{txt}Scale reliability coefficient:{col 34}{res}   0.7309
{txt}
{com}. 
. 
. ********************************
. ********************************
. ********************************
. ********************************
. *** Control variables 
. ********************************
. ********************************
. ********************************
. ********************************
. 
. *** ideology 
. 
. gen ideology1 = .
{txt}(4,240 missing values generated)

{com}. replace ideology1 = -3 if W1N2 == 10
{txt}(117 real changes made)

{com}. replace ideology1 = -2 if W1N2 == 11
{txt}(238 real changes made)

{com}. replace ideology1 = -1 if W1N4 == 10
{txt}(181 real changes made)

{com}. replace ideology1 = 0 if W1N4 == 12
{txt}(354 real changes made)

{com}. replace ideology1 = 1 if W1N4 == 11
{txt}(139 real changes made)

{com}. replace ideology1 = 2 if W1N3 == 11
{txt}(386 real changes made)

{com}. replace ideology1 = 3 if W1N3 == 10
{txt}(198 real changes made)

{com}. 
. gen ideostrength1 = abs(ideology1)
{txt}(2,627 missing values generated)

{com}. 
. 
. 
. ** wave 6
. gen ideology6 = .
{txt}(4,240 missing values generated)

{com}. replace ideology6 = -3 if W6G2 == 10
{txt}(117 real changes made)

{com}. replace ideology6 = -2 if W6G2 == 11
{txt}(184 real changes made)

{com}. replace ideology6 = -1 if W6G4 == 10
{txt}(163 real changes made)

{com}. replace ideology6 = 0 if W6G4 == 12
{txt}(307 real changes made)

{com}. replace ideology6 = 1 if W6G4 == 11
{txt}(167 real changes made)

{com}. replace ideology6 = 2 if W6G3 == 11
{txt}(309 real changes made)

{com}. replace ideology6 = 3 if W6G3 == 10
{txt}(171 real changes made)

{com}. 
. gen ideostrength6 = abs(ideology6)
{txt}(2,822 missing values generated)

{com}. 
. *** ONLY HAVE PID FROM WAVE 1 (and wave 9)
. gen pid = .
{txt}(4,240 missing values generated)

{com}. replace pid = -3 if DER08W1 == 10
{txt}(327 real changes made)

{com}. replace pid = -2 if DER08W1 == 11
{txt}(240 real changes made)

{com}. replace pid = -1 if DER08W1 == 12
{txt}(172 real changes made)

{com}. replace pid = 0 if DER08W1 == 13
{txt}(200 real changes made)

{com}. replace pid = 1 if DER08W1 == 14
{txt}(149 real changes made)

{com}. replace pid = 2 if DER08W1 == 15
{txt}(249 real changes made)

{com}. replace pid = 3 if DER08W1 == 16
{txt}(277 real changes made)

{com}. 
. gen pidstrength = abs(pid)
{txt}(2,626 missing values generated)

{com}. 
. gen black = 0
{txt}
{com}. replace black = 1 if RRACEBLA == 11
{txt}(502 real changes made)

{com}. 
. gen age = .
{txt}(4,240 missing values generated)

{com}. replace age = RAGER if RAGER != 4
{txt}(4,194 real changes made)

{com}. replace age = age+7
{txt}(4,194 real changes made)

{com}. 
. gen female = .
{txt}(4,240 missing values generated)

{com}. replace female = 0 if DER01 == 10
{txt}(1,798 real changes made)

{com}. replace female = 1 if DER01 == 11
{txt}(2,442 real changes made)

{com}. 
. gen income = .
{txt}(4,240 missing values generated)

{com}. replace income = DER06 if DER06 > 9
{txt}(3,187 real changes made)

{com}. 
. gen education = .
{txt}(4,240 missing values generated)

{com}. replace education = DER05 if DER05 > 9
{txt}(3,222 real changes made)

{com}. 
. 
. ** political knowledfge
. 
. **** from WAVE 2 
. 
. gen k1 = 0
{txt}
{com}. gen k2 = 0
{txt}
{com}. gen k3 = 0
{txt}
{com}. gen k4 = 0
{txt}
{com}. gen k5 = 0
{txt}
{com}. gen k6 = 0
{txt}
{com}. 
. replace k1 = 1 if W2U2 == 12
{txt}(1,351 real changes made)

{com}. replace k1 = . if W2U2 < 10
{txt}(2,802 real changes made, 2,802 to missing)

{com}. 
. replace k2 = 1 if W2U3 == 16
{txt}(547 real changes made)

{com}. replace k2 = . if W2U3 < 10
{txt}(2,834 real changes made, 2,834 to missing)

{com}. 
. replace k3 = 1 if W2U4 == 12
{txt}(1,068 real changes made)

{com}. replace k3 = . if W2U4 < 10
{txt}(2,860 real changes made, 2,860 to missing)

{com}. 
. replace k4 = 1 if W2U5 == 12
{txt}(568 real changes made)

{com}. replace k4 = . if W2U5 < 10
{txt}(2,857 real changes made, 2,857 to missing)

{com}. 
. replace k5 = 1 if W2U6 == 12
{txt}(994 real changes made)

{com}. replace k5 = . if W2U6 < 10
{txt}(2,821 real changes made, 2,821 to missing)

{com}. 
. replace k6 = 1 if W2U7 == 11
{txt}(1,040 real changes made)

{com}. replace k6 = . if W2U7 < 10
{txt}(2,822 real changes made, 2,822 to missing)

{com}. 
. alpha k1-k6, gen(knowledge)

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} .0331921
{txt}Number of items in the scale:{col 34}{res}        6
{txt}Scale reliability coefficient:{col 34}{res}   0.5663
{txt}
{com}. 
. 
. 
. ** issue extremity
. 
. **** from WAVE 1 
. 
. 
. * amend const for same sex
. gen gaySelf = .
{txt}(4,240 missing values generated)

{com}. replace gaySelf = 0 if W1P1 == 12
{txt}(388 real changes made)

{com}. replace gaySelf = 1 if W1P_O_2 == 10
{txt}(561 real changes made)

{com}. replace gaySelf = 2 if W1P_O_2 == 11
{txt}(135 real changes made)

{com}. replace gaySelf = 3 if W1P_O_2 == 12
{txt}(30 real changes made)

{com}. replace gaySelf = 5 if W1P_F_2 == 12
{txt}(21 real changes made)

{com}. replace gaySelf = 6 if W1P_F_2 == 11
{txt}(90 real changes made)

{com}. replace gaySelf = 7 if W1P_F_2 == 10
{txt}(384 real changes made)

{com}. 
. * tax the rich
. gen taxSelf = . 
{txt}(4,240 missing values generated)

{com}. replace taxSelf = 4 if W1P4 == 12
{txt}(362 real changes made)

{com}. replace taxSelf = 1 if W1P_O_5 == 10
{txt}(225 real changes made)

{com}. replace taxSelf = 2 if W1P_O_5 == 11
{txt}(114 real changes made)

{com}. replace taxSelf = 3 if W1P_O_5 == 12
{txt}(19 real changes made)

{com}. replace taxSelf = 5 if W1P_F_5 == 12
{txt}(44 real changes made)

{com}. replace taxSelf = 6 if W1P_F_5 == 11
{txt}(303 real changes made)

{com}. replace taxSelf = 7 if W1P_F_5 == 10
{txt}(544 real changes made)

{com}. 
. * gov pay for prescription drugs 
. gen scriptSelf = .
{txt}(4,240 missing values generated)

{com}. replace scriptSelf = 4 if W1P10 == 12
{txt}(226 real changes made)

{com}. replace scriptSelf = 1 if W1P_O_11 == 10
{txt}(67 real changes made)

{com}. replace scriptSelf = 2 if W1P_O_11 == 11
{txt}(89 real changes made)

{com}. replace scriptSelf= 3 if W1P_O_11 == 12
{txt}(24 real changes made)

{com}. replace scriptSelf = 5 if W1P_F_11 == 12
{txt}(43 real changes made)

{com}. replace scriptSelf = 6 if W1P_F_11 == 11
{txt}(301 real changes made)

{com}. replace scriptSelf = 7 if W1P_F_11 == 10
{txt}(860 real changes made)

{com}. 
. * gov pay for medical care
. gen healthSelf = .
{txt}(4,240 missing values generated)

{com}. replace healthSelf = 4 if W1P13 == 12
{txt}(355 real changes made)

{com}. replace healthSelf = 1 if W1P_O_14 == 10
{txt}(377 real changes made)

{com}. replace healthSelf = 2 if W1P_O_14 == 11
{txt}(195 real changes made)

{com}. replace healthSelf= 3 if W1P_O_14 == 12
{txt}(15 real changes made)

{com}. replace healthSelf = 5 if W1P_F_14 == 12
{txt}(22 real changes made)

{com}. replace healthSelf = 6 if W1P_F_14 == 11
{txt}(189 real changes made)

{com}. replace healthSelf = 7 if W1P_F_14 == 10
{txt}(459 real changes made)

{com}. 
. * detain terrorists 
. gen terrorSelf = .
{txt}(4,240 missing values generated)

{com}. replace terrorSelf = 4 if W1P16 == 12
{txt}(280 real changes made)

{com}. replace terrorSelf = 1 if W1P_O_17 == 10
{txt}(673 real changes made)

{com}. replace terrorSelf = 2 if W1P_O_17 == 11
{txt}(310 real changes made)

{com}. replace terrorSelf= 3 if W1P_O_17 == 12
{txt}(44 real changes made)

{com}. replace terrorSelf = 5 if W1P_F_17 == 12
{txt}(24 real changes made)

{com}. replace terrorSelf = 6 if W1P_F_17 == 11
{txt}(98 real changes made)

{com}. replace terrorSelf = 7 if W1P_F_17 == 10
{txt}(182 real changes made)

{com}. 
. * Need FISA warrant to wiretap terrorists? 
. gen fisaSelf = .
{txt}(4,240 missing values generated)

{com}. replace fisaSelf = 4 if W1P19 == 12
{txt}(214 real changes made)

{com}. replace fisaSelf = 1 if W1P_O_20 == 10
{txt}(255 real changes made)

{com}. replace fisaSelf = 2 if W1P_O_20 == 11
{txt}(172 real changes made)

{com}. replace fisaSelf = 3 if W1P_O_20 == 12
{txt}(13 real changes made)

{com}. replace fisaSelf = 5 if W1P_F_20 == 12
{txt}(43 real changes made)

{com}. replace fisaSelf = 6 if W1P_F_20 == 11
{txt}(256 real changes made)

{com}. replace fisaSelf = 7 if W1P_F_20 == 10
{txt}(658 real changes made)

{com}. 
. * Let immigrants work for 3 years, then send them back 
. gen immigrantsSelf = .
{txt}(4,240 missing values generated)

{com}. replace immigrantsSelf = 4 if W1P22 == 12
{txt}(328 real changes made)

{com}. replace immigrantsSelf = 1 if W1P_O_23 == 10
{txt}(672 real changes made)

{com}. replace immigrantsSelf = 2 if W1P_O_23 == 11
{txt}(196 real changes made)

{com}. replace immigrantsSelf = 3 if W1P_O_23 == 12
{txt}(25 real changes made)

{com}. replace immigrantsSelf = 5 if W1P_F_23 == 12
{txt}(30 real changes made)

{com}. replace immigrantsSelf = 6 if W1P_F_23 == 11
{txt}(180 real changes made)

{com}. replace immigrantsSelf = 7 if W1P_F_23 == 10
{txt}(181 real changes made)

{com}. 
. * allowing immigrants to become citizens
. gen citizenSelf = .
{txt}(4,240 missing values generated)

{com}. replace citizenSelf = 4 if W1P25 == 12
{txt}(282 real changes made)

{com}. replace citizenSelf = 1 if W1P_O_26 == 10
{txt}(472 real changes made)

{com}. replace citizenSelf = 2 if W1P_O_26 == 11
{txt}(152 real changes made)

{com}. replace citizenSelf = 3 if W1P_O_26 == 12
{txt}(20 real changes made)

{com}. replace citizenSelf = 5 if W1P_F_26 == 12
{txt}(55 real changes made)

{com}. replace citizenSelf = 6 if W1P_F_26 == 11
{txt}(328 real changes made)

{com}. replace citizenSelf = 7 if W1P_F_26 == 10
{txt}(303 real changes made)

{com}. 
. *recode
. foreach var of varlist gaySelf-citizenSelf{c -(} 
{txt}  2{com}.         recode `var' (1=-3) (2=-2) (3=-1) (4=0) (5=1) (6=2) (7=3)
{txt}  3{com}.         gen `var'2 = abs(`var')
{txt}  4{com}. {c )-}
{txt}(gaySelf: 1221 changes made)
(2,631 missing values generated)
(taxSelf: 1611 changes made)
(2,629 missing values generated)
(scriptSelf: 1610 changes made)
(2,630 missing values generated)
(healthSelf: 1612 changes made)
(2,628 missing values generated)
(terrorSelf: 1611 changes made)
(2,629 missing values generated)
(fisaSelf: 1611 changes made)
(2,629 missing values generated)
(immigrantsSelf: 1612 changes made)
(2,628 missing values generated)
(citizenSelf: 1612 changes made)
(2,628 missing values generated)

{com}. *
. 
. alpha gaySelf2-citizenSelf2, gen(issueextremity)

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} .1776288
{txt}Number of items in the scale:{col 34}{res}        8
{txt}Scale reliability coefficient:{col 34}{res}   0.5578
{txt}
{com}. 
. 
. **** south
. 
. gen south = 0
{txt}
{com}. replace south = 1 if  W1XSTATE == 3
{txt}(23 real changes made)

{com}. replace south = 1 if  W1XSTATE == 4
{txt}(9 real changes made)

{com}. replace south = 1 if  W1XSTATE == 9
{txt}(5 real changes made)

{com}. replace south = 1 if  W1XSTATE == 10
{txt}(5 real changes made)

{com}. replace south = 1 if  W1XSTATE == 11
{txt}(81 real changes made)

{com}. replace south = 1 if  W1XSTATE == 12
{txt}(58 real changes made)

{com}. replace south = 1 if  W1XSTATE == 19
{txt}(27 real changes made)

{com}. replace south = 1 if  W1XSTATE == 20
{txt}(23 real changes made)

{com}. replace south = 1 if  W1XSTATE == 22
{txt}(24 real changes made)

{com}. replace south = 1 if  W1XSTATE == 27
{txt}(14 real changes made)

{com}. replace south = 1 if  W1XSTATE == 29
{txt}(49 real changes made)

{com}. replace south = 1 if  W1XSTATE == 38
{txt}(18 real changes made)

{com}. replace south = 1 if  W1XSTATE == 42
{txt}(20 real changes made)

{com}. replace south = 1 if  W1XSTATE == 44
{txt}(38 real changes made)

{com}. replace south = 1 if  W1XSTATE == 45
{txt}(101 real changes made)

{com}. replace south = 1 if  W1XSTATE == 47
{txt}(36 real changes made)

{com}. replace south = 1 if  W1XSTATE == 50
{txt}(9 real changes made)

{com}. 
. *** interest
. gen i1 = W6Y2 if W6Y2 > 9
{txt}(2,821 missing values generated)

{com}. gen i2 = W6Y3 if W6Y3 > 9
{txt}(2,820 missing values generated)

{com}. gen i3 = W6Y4 if W6Y4 > 9
{txt}(2,820 missing values generated)

{com}. gen i4 = W6Y5 if W6Y5 > 9
{txt}(2,820 missing values generated)

{com}. gen i5 = W6Y8 if W6Y8 > 9
{txt}(2,820 missing values generated)

{com}. gen i6 = W6Y9 if W6Y9 > 9
{txt}(2,820 missing values generated)

{com}. gen i7 = W6Y10 if W6Y10 > 9
{txt}(2,820 missing values generated)

{com}. 
. *recode
. foreach var of varlist i1-i7{c -(} 
{txt}  2{com}.         replace `var' = `var' - 9
{txt}  3{com}.         replace `var' = 6-`var'
{txt}  4{com}. {c )-}
{txt}(1,419 real changes made)
(1,238 real changes made)
(1,420 real changes made)
(1,103 real changes made)
(1,420 real changes made)
(1,153 real changes made)
(1,420 real changes made)
(1,062 real changes made)
(1,420 real changes made)
(1,124 real changes made)
(1,420 real changes made)
(1,254 real changes made)
(1,420 real changes made)
(1,277 real changes made)

{com}. *
. 
. alpha i1-i7, gen(interest6)

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} .6117171
{txt}Number of items in the scale:{col 34}{res}        7
{txt}Scale reliability coefficient:{col 34}{res}   0.8509
{txt}
{com}. 
. 
. *rescale 0-1
. foreach v of var canddiff6 canddiff9 ideostrength1 ideostrength6 ///
>         age pidstrength income education issueextremity knowledge ////
>         affect6 affect9 interest6 ideo9 ideo6 tax6{c -(} 
{txt}  2{com}.         su `v', meanonly 
{txt}  3{com}.         gen `v'2 = (`v' - r(min))/(r(max) - r(min)) 
{txt}  4{com}. {c )-}
{txt}(2,826 missing values generated)
(1,512 missing values generated)
(2,627 missing values generated)
(2,822 missing values generated)
(46 missing values generated)
(2,626 missing values generated)
(1,053 missing values generated)
(1,018 missing values generated)
(2,621 missing values generated)
(2,791 missing values generated)
(2,821 missing values generated)
(1,499 missing values generated)
(2,820 missing values generated)
(1,519 missing values generated)
(2,844 missing values generated)
(3,142 missing values generated)

{com}. *
. 
. keep gaymccain6-interest62
{txt}
{com}. 
. ********************************************************************************
.         
. ****
. ** Panel models corresponding to 
. ** Table 1, columns 3-4
. ****    
. 
. sem (canddiff92 <- affect62 canddiff62 ideostrength62 pidstrength2 ///
>         issueextremity2 interest62 knowledge2 education2 age2 income2 female ///
>         black south) ///
>         (affect92 <- affect62 canddiff62 ideostrength62 pidstrength2 ///
>         issueextremity2 interest62 knowledge2 education2 age2 income2 female ///
>         black south), standardized 
{res}{txt}(3102 observations with missing values excluded)

Endogenous variables

{p 0 11 2}Observed:{space 2}{res}canddiff92 affect92{p_end}
{txt}
Exogenous variables

{p 0 11 2}Observed:{space 2}{res}affect62 canddiff62 ideostrength62 pidstrength2 issueextremity2 interest62 knowledge2 education2 age2 income2 female black south{p_end}
{txt}
Fitting target model:

Iteration 0:{space 3}log likelihood = {res:-363.76344}  
Iteration 1:{space 3}log likelihood = {res:-363.76344}  

{col 1}Structural equation model{col 49}Number of obs{col 67}= {res}     1,138
{txt}{col 1}Estimation method{col 20}= {res}ml
{txt}{col 1}Log likelihood{col 20}= {res}-363.76344

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}      OIM
{col 1}   Standardized{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}{res}Structural     {col 17}{txt}{c |}
{space 2}{col 3}canddiff92   {col 17}{c |}
{space 7}affect62 {c |}{col 17}{res}{space 2} .1584902{col 29}{space 2} .0278905{col 40}{space 1}    5.68{col 49}{space 3}0.000{col 57}{space 4} .1038258{col 70}{space 3} .2131545
{txt}{space 5}canddiff62 {c |}{col 17}{res}{space 2} .3571762{col 29}{space 2} .0243354{col 40}{space 1}   14.68{col 49}{space 3}0.000{col 57}{space 4} .3094797{col 70}{space 3} .4048727
{txt}{space 2}ideostreng~62 {c |}{col 17}{res}{space 2} .0433774{col 29}{space 2} .0268865{col 40}{space 1}    1.61{col 49}{space 3}0.107{col 57}{space 4}-.0093192{col 70}{space 3}  .096074
{txt}{space 3}pidstrength2 {c |}{col 17}{res}{space 2} .0878838{col 29}{space 2}   .02729{col 40}{space 1}    3.22{col 49}{space 3}0.001{col 57}{space 4} .0343965{col 70}{space 3} .1413712
{txt}{space 2}issueextrem~2 {c |}{col 17}{res}{space 2} .1120108{col 29}{space 2} .0248375{col 40}{space 1}    4.51{col 49}{space 3}0.000{col 57}{space 4} .0633302{col 70}{space 3} .1606914
{txt}{space 5}interest62 {c |}{col 17}{res}{space 2} .1228809{col 29}{space 2} .0247075{col 40}{space 1}    4.97{col 49}{space 3}0.000{col 57}{space 4} .0744551{col 70}{space 3} .1713067
{txt}{space 5}knowledge2 {c |}{col 17}{res}{space 2} .0611039{col 29}{space 2} .0271235{col 40}{space 1}    2.25{col 49}{space 3}0.024{col 57}{space 4} .0079429{col 70}{space 3}  .114265
{txt}{space 5}education2 {c |}{col 17}{res}{space 2} .0232281{col 29}{space 2} .0270369{col 40}{space 1}    0.86{col 49}{space 3}0.390{col 57}{space 4}-.0297632{col 70}{space 3} .0762194
{txt}{space 11}age2 {c |}{col 17}{res}{space 2}-.0073034{col 29}{space 2} .0246498{col 40}{space 1}   -0.30{col 49}{space 3}0.767{col 57}{space 4}-.0556162{col 70}{space 3} .0410093
{txt}{space 8}income2 {c |}{col 17}{res}{space 2} .0831703{col 29}{space 2} .0263869{col 40}{space 1}    3.15{col 49}{space 3}0.002{col 57}{space 4}  .031453{col 70}{space 3} .1348877
{txt}{space 9}female {c |}{col 17}{res}{space 2}-.0202553{col 29}{space 2}  .024576{col 40}{space 1}   -0.82{col 49}{space 3}0.410{col 57}{space 4}-.0684235{col 70}{space 3} .0279128
{txt}{space 10}black {c |}{col 17}{res}{space 2} .0350241{col 29}{space 2} .0246499{col 40}{space 1}    1.42{col 49}{space 3}0.155{col 57}{space 4}-.0132889{col 70}{space 3} .0833371
{txt}{space 10}south {c |}{col 17}{res}{space 2}-.0263649{col 29}{space 2} .0238666{col 40}{space 1}   -1.10{col 49}{space 3}0.269{col 57}{space 4}-.0731426{col 70}{space 3} .0204127
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .2161849{col 29}{space 2} .1450433{col 40}{space 1}    1.49{col 49}{space 3}0.136{col 57}{space 4}-.0680948{col 70}{space 3} .5004645
{space 2}{txt}{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 2}{col 3}affect92     {col 17}{c |}
{space 7}affect62 {c |}{col 17}{res}{space 2} .6643273{col 29}{space 2}  .017738{col 40}{space 1}   37.45{col 49}{space 3}0.000{col 57}{space 4} .6295615{col 70}{space 3} .6990932
{txt}{space 5}canddiff62 {c |}{col 17}{res}{space 2} .0185091{col 29}{space 2} .0206619{col 40}{space 1}    0.90{col 49}{space 3}0.370{col 57}{space 4}-.0219876{col 70}{space 3} .0590057
{txt}{space 2}ideostreng~62 {c |}{col 17}{res}{space 2} .0311798{col 29}{space 2} .0212424{col 40}{space 1}    1.47{col 49}{space 3}0.142{col 57}{space 4}-.0104545{col 70}{space 3}  .072814
{txt}{space 3}pidstrength2 {c |}{col 17}{res}{space 2} .1533324{col 29}{space 2} .0214063{col 40}{space 1}    7.16{col 49}{space 3}0.000{col 57}{space 4} .1113769{col 70}{space 3} .1952879
{txt}{space 2}issueextrem~2 {c |}{col 17}{res}{space 2} .0602164{col 29}{space 2} .0197201{col 40}{space 1}    3.05{col 49}{space 3}0.002{col 57}{space 4} .0215658{col 70}{space 3} .0988671
{txt}{space 5}interest62 {c |}{col 17}{res}{space 2} .0297553{col 29}{space 2} .0196762{col 40}{space 1}    1.51{col 49}{space 3}0.130{col 57}{space 4}-.0088092{col 70}{space 3} .0683199
{txt}{space 5}knowledge2 {c |}{col 17}{res}{space 2}-.0082267{col 29}{space 2} .0214576{col 40}{space 1}   -0.38{col 49}{space 3}0.701{col 57}{space 4}-.0502829{col 70}{space 3} .0338295
{txt}{space 5}education2 {c |}{col 17}{res}{space 2}-.0091273{col 29}{space 2} .0213554{col 40}{space 1}   -0.43{col 49}{space 3}0.669{col 57}{space 4}-.0509831{col 70}{space 3} .0327285
{txt}{space 11}age2 {c |}{col 17}{res}{space 2}-.0186079{col 29}{space 2} .0194624{col 40}{space 1}   -0.96{col 49}{space 3}0.339{col 57}{space 4}-.0567535{col 70}{space 3} .0195377
{txt}{space 8}income2 {c |}{col 17}{res}{space 2} .0118113{col 29}{space 2} .0209108{col 40}{space 1}    0.56{col 49}{space 3}0.572{col 57}{space 4}-.0291732{col 70}{space 3} .0527958
{txt}{space 9}female {c |}{col 17}{res}{space 2} .0138076{col 29}{space 2}   .01941{col 40}{space 1}    0.71{col 49}{space 3}0.477{col 57}{space 4}-.0242353{col 70}{space 3} .0518504
{txt}{space 10}black {c |}{col 17}{res}{space 2}-.0168799{col 29}{space 2} .0194768{col 40}{space 1}   -0.87{col 49}{space 3}0.386{col 57}{space 4}-.0550537{col 70}{space 3}  .021294
{txt}{space 10}south {c |}{col 17}{res}{space 2} .0107116{col 29}{space 2} .0188541{col 40}{space 1}    0.57{col 49}{space 3}0.570{col 57}{space 4}-.0262417{col 70}{space 3} .0476649
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}-.1371489{col 29}{space 2} .1124375{col 40}{space 1}   -1.22{col 49}{space 3}0.223{col 57}{space 4}-.3575225{col 70}{space 3} .0832246
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
var(e.canddi~92){c |}{col 17}{res}{space 2} .6286096{col 29}{space 2}  .020495{col 57}{space 4} .5896966{col 70}{space 3} .6700904
{txt}{space 1}var(e.affect92){c |}{col 17}{res}{space 2} .3919973{col 29}{space 2} .0151182{col 57}{space 4} .3634585{col 70}{space 3}  .422777
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
LR test of model vs. saturated: chi2({res:1})   = {res:    32.82}, Prob > chi2 = {res}0.0000
{txt}
{com}.         
. ****
. ** Panel models stratified by sophistication
. ** corresponding to Table 2, bottom half
. ****            
.         
. gen knowalt = k1 + k2 + k3 + k4 + k5 + k6
{txt}(2,942 missing values generated)

{com}. sum knowalt, detail     

                           {txt}knowalt
{hline 61}
      Percentiles      Smallest
 1%    {res}        1              0
{txt} 5%    {res}        2              0
{txt}10%    {res}        2              0       {txt}Obs         {res}      1,298
{txt}25%    {res}        3              0       {txt}Sum of Wgt. {res}      1,298

{txt}50%    {res}        4                      {txt}Mean          {res} 4.006934
                        {txt}Largest       Std. Dev.     {res} 1.442001
{txt}75%    {res}        5              6
{txt}90%    {res}        6              6       {txt}Variance      {res} 2.079366
{txt}95%    {res}        6              6       {txt}Skewness      {res}-.3238853
{txt}99%    {res}        6              6       {txt}Kurtosis      {res} 2.431855
{txt}
{com}.         
. gen know4 = .
{txt}(4,240 missing values generated)

{com}. replace know4 = 1 if knowalt < 3
{txt}(205 real changes made)

{com}. replace know4 = 2 if knowalt > 2 & knowalt < 5
{txt}(596 real changes made)

{com}. replace know4 = 3 if knowalt > 4 & knowalt < .
{txt}(497 real changes made)

{com}.         
. sem (canddiff92 <- affect62 canddiff62 ideostrength62 pidstrength2 issueextremity2 ///
>         interest62 education2 age2 income2 female ///
>         black south) ///
>         (affect92 <- affect62 canddiff62 ideostrength62 pidstrength2 issueextremity2 ///
>         interest62 education2 age2 income2 female ///
>         black south), standardized group(know4)         
{res}{txt}(269 observations with missing values excluded)

Endogenous variables

{p 0 11 2}Observed:{space 2}{res}canddiff92 affect92{p_end}
{txt}
Exogenous variables

{p 0 11 2}Observed:{space 2}{res}affect62 canddiff62 ideostrength62 pidstrength2 issueextremity2 interest62 education2 age2 income2 female black south{p_end}
{txt}
Fitting target model:

Iteration 0:{space 3}log likelihood = {res:-65.116558}  
Iteration 1:{space 3}log likelihood = {res:-65.116558}  

{col 1}Structural equation model{col 49}Number of obs{col 67}= {res}     1,029
{txt}{col 1}Grouping variable{col 20}= {res}know4{txt}{col 49}Number of groups{col 67}= {res}         3
{txt}{col 1}Estimation method{col 20}= {res}ml
{txt}{col 1}Log likelihood{col 20}= {res}-65.116558

{txt}Group{col 20}: {res}1{txt}{col 49}Number of obs{col 67}= {res}       147

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}      OIM
{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}{res}Structural     {col 17}{txt}{c |}
{space 2}{col 3}canddiff92   {col 17}{c |}
{space 7}affect62 {c |}{col 17}{res}{space 2} .0756007{col 29}{space 2}  .078629{col 40}{space 1}    0.96{col 49}{space 3}0.336{col 57}{space 4}-.0785094{col 70}{space 3} .2297107
{txt}{space 5}canddiff62 {c |}{col 17}{res}{space 2} .3958215{col 29}{space 2} .0670467{col 40}{space 1}    5.90{col 49}{space 3}0.000{col 57}{space 4} .2644123{col 70}{space 3} .5272306
{txt}{space 2}ideostreng~62 {c |}{col 17}{res}{space 2}  .083418{col 29}{space 2} .0694537{col 40}{space 1}    1.20{col 49}{space 3}0.230{col 57}{space 4}-.0527087{col 70}{space 3} .2195448
{txt}{space 3}pidstrength2 {c |}{col 17}{res}{space 2} .0613987{col 29}{space 2} .0742579{col 40}{space 1}    0.83{col 49}{space 3}0.408{col 57}{space 4} -.084144{col 70}{space 3} .2069414
{txt}{space 2}issueextrem~2 {c |}{col 17}{res}{space 2} .2628117{col 29}{space 2} .0643766{col 40}{space 1}    4.08{col 49}{space 3}0.000{col 57}{space 4} .1366358{col 70}{space 3} .3889875
{txt}{space 5}interest62 {c |}{col 17}{res}{space 2}-.0010914{col 29}{space 2} .0677874{col 40}{space 1}   -0.02{col 49}{space 3}0.987{col 57}{space 4}-.1339523{col 70}{space 3} .1317696
{txt}{space 5}education2 {c |}{col 17}{res}{space 2} .0463301{col 29}{space 2} .0753834{col 40}{space 1}    0.61{col 49}{space 3}0.539{col 57}{space 4}-.1014186{col 70}{space 3} .1940789
{txt}{space 11}age2 {c |}{col 17}{res}{space 2}-.0045996{col 29}{space 2} .0664667{col 40}{space 1}   -0.07{col 49}{space 3}0.945{col 57}{space 4}-.1348719{col 70}{space 3} .1256727
{txt}{space 8}income2 {c |}{col 17}{res}{space 2} .1349268{col 29}{space 2} .0710704{col 40}{space 1}    1.90{col 49}{space 3}0.058{col 57}{space 4}-.0043688{col 70}{space 3} .2742223
{txt}{space 9}female {c |}{col 17}{res}{space 2}-.1201951{col 29}{space 2} .0685888{col 40}{space 1}   -1.75{col 49}{space 3}0.080{col 57}{space 4}-.2546267{col 70}{space 3} .0142366
{txt}{space 10}black {c |}{col 17}{res}{space 2} .1270085{col 29}{space 2} .0713904{col 40}{space 1}    1.78{col 49}{space 3}0.075{col 57}{space 4}-.0129141{col 70}{space 3}  .266931
{txt}{space 10}south {c |}{col 17}{res}{space 2}-.0585329{col 29}{space 2} .0682644{col 40}{space 1}   -0.86{col 49}{space 3}0.391{col 57}{space 4}-.1923286{col 70}{space 3} .0752628
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}-.0654663{col 29}{space 2} .3346987{col 40}{space 1}   -0.20{col 49}{space 3}0.845{col 57}{space 4}-.7214636{col 70}{space 3} .5905311
{space 2}{txt}{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 2}{col 3}affect92     {col 17}{c |}
{space 7}affect62 {c |}{col 17}{res}{space 2} .5654987{col 29}{space 2} .0544378{col 40}{space 1}   10.39{col 49}{space 3}0.000{col 57}{space 4} .4588026{col 70}{space 3} .6721948
{txt}{space 5}canddiff62 {c |}{col 17}{res}{space 2} .0656112{col 29}{space 2} .0579877{col 40}{space 1}    1.13{col 49}{space 3}0.258{col 57}{space 4}-.0480427{col 70}{space 3} .1792651
{txt}{space 2}ideostreng~62 {c |}{col 17}{res}{space 2}-.0350763{col 29}{space 2} .0555007{col 40}{space 1}   -0.63{col 49}{space 3}0.527{col 57}{space 4}-.1438557{col 70}{space 3} .0737032
{txt}{space 3}pidstrength2 {c |}{col 17}{res}{space 2} .2549624{col 29}{space 2} .0575552{col 40}{space 1}    4.43{col 49}{space 3}0.000{col 57}{space 4} .1421563{col 70}{space 3} .3677685
{txt}{space 2}issueextrem~2 {c |}{col 17}{res}{space 2} .1133393{col 29}{space 2} .0531143{col 40}{space 1}    2.13{col 49}{space 3}0.033{col 57}{space 4} .0092372{col 70}{space 3} .2174415
{txt}{space 5}interest62 {c |}{col 17}{res}{space 2}-.0425365{col 29}{space 2} .0539464{col 40}{space 1}   -0.79{col 49}{space 3}0.430{col 57}{space 4}-.1482695{col 70}{space 3} .0631965
{txt}{space 5}education2 {c |}{col 17}{res}{space 2}  .057376{col 29}{space 2} .0600242{col 40}{space 1}    0.96{col 49}{space 3}0.339{col 57}{space 4}-.0602693{col 70}{space 3} .1750213
{txt}{space 11}age2 {c |}{col 17}{res}{space 2}-.0870805{col 29}{space 2} .0527267{col 40}{space 1}   -1.65{col 49}{space 3}0.099{col 57}{space 4}-.1904228{col 70}{space 3} .0162619
{txt}{space 8}income2 {c |}{col 17}{res}{space 2}-.0375687{col 29}{space 2} .0571096{col 40}{space 1}   -0.66{col 49}{space 3}0.511{col 57}{space 4}-.1495015{col 70}{space 3} .0743641
{txt}{space 9}female {c |}{col 17}{res}{space 2} .0605308{col 29}{space 2}  .054974{col 40}{space 1}    1.10{col 49}{space 3}0.271{col 57}{space 4}-.0472164{col 70}{space 3} .1682779
{txt}{space 10}black {c |}{col 17}{res}{space 2} .0449903{col 29}{space 2} .0572855{col 40}{space 1}    0.79{col 49}{space 3}0.432{col 57}{space 4}-.0672871{col 70}{space 3} .1572678
{txt}{space 10}south {c |}{col 17}{res}{space 2}-.0851324{col 29}{space 2} .0542788{col 40}{space 1}   -1.57{col 49}{space 3}0.117{col 57}{space 4}-.1915169{col 70}{space 3}  .021252
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}-.1001512{col 29}{space 2} .2664944{col 40}{space 1}   -0.38{col 49}{space 3}0.707{col 57}{space 4}-.6224706{col 70}{space 3} .4221681
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
var(e.canddi~92){c |}{col 17}{res}{space 2} .5961805{col 29}{space 2} .0558301{col 57}{space 4} .4962104{col 70}{space 3} .7162914
{txt}{space 1}var(e.affect92){c |}{col 17}{res}{space 2} .3782938{col 29}{space 2}  .040846{col 57}{space 4}  .306141{col 70}{space 3}  .467452
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}Group{col 20}: {res}2{txt}{col 49}Number of obs{col 67}= {res}       482

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}      OIM
{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}{res}Structural     {col 17}{txt}{c |}
{space 2}{col 3}canddiff92   {col 17}{c |}
{space 7}affect62 {c |}{col 17}{res}{space 2} .1586899{col 29}{space 2} .0443989{col 40}{space 1}    3.57{col 49}{space 3}0.000{col 57}{space 4} .0716698{col 70}{space 3} .2457101
{txt}{space 5}canddiff62 {c |}{col 17}{res}{space 2} .3249016{col 29}{space 2} .0384549{col 40}{space 1}    8.45{col 49}{space 3}0.000{col 57}{space 4} .2495314{col 70}{space 3} .4002718
{txt}{space 2}ideostreng~62 {c |}{col 17}{res}{space 2} .0470357{col 29}{space 2} .0424943{col 40}{space 1}    1.11{col 49}{space 3}0.268{col 57}{space 4}-.0362516{col 70}{space 3}  .130323
{txt}{space 3}pidstrength2 {c |}{col 17}{res}{space 2}  .096813{col 29}{space 2} .0439925{col 40}{space 1}    2.20{col 49}{space 3}0.028{col 57}{space 4} .0105893{col 70}{space 3} .1830366
{txt}{space 2}issueextrem~2 {c |}{col 17}{res}{space 2} .1101952{col 29}{space 2} .0394229{col 40}{space 1}    2.80{col 49}{space 3}0.005{col 57}{space 4} .0329279{col 70}{space 3} .1874626
{txt}{space 5}interest62 {c |}{col 17}{res}{space 2} .1349184{col 29}{space 2} .0390102{col 40}{space 1}    3.46{col 49}{space 3}0.001{col 57}{space 4} .0584597{col 70}{space 3}  .211377
{txt}{space 5}education2 {c |}{col 17}{res}{space 2}  .055091{col 29}{space 2} .0400445{col 40}{space 1}    1.38{col 49}{space 3}0.169{col 57}{space 4}-.0233948{col 70}{space 3} .1335769
{txt}{space 11}age2 {c |}{col 17}{res}{space 2}-.0446085{col 29}{space 2}  .037245{col 40}{space 1}   -1.20{col 49}{space 3}0.231{col 57}{space 4}-.1176074{col 70}{space 3} .0283903
{txt}{space 8}income2 {c |}{col 17}{res}{space 2}  .069685{col 29}{space 2} .0395775{col 40}{space 1}    1.76{col 49}{space 3}0.078{col 57}{space 4}-.0078855{col 70}{space 3} .1472555
{txt}{space 9}female {c |}{col 17}{res}{space 2}-.0291567{col 29}{space 2} .0375558{col 40}{space 1}   -0.78{col 49}{space 3}0.438{col 57}{space 4}-.1027648{col 70}{space 3} .0444513
{txt}{space 10}black {c |}{col 17}{res}{space 2} .0743896{col 29}{space 2} .0376004{col 40}{space 1}    1.98{col 49}{space 3}0.048{col 57}{space 4} .0006941{col 70}{space 3} .1480851
{txt}{space 10}south {c |}{col 17}{res}{space 2}-.0205631{col 29}{space 2} .0367354{col 40}{space 1}   -0.56{col 49}{space 3}0.576{col 57}{space 4}-.0925632{col 70}{space 3}  .051437
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}  .350756{col 29}{space 2} .2168529{col 40}{space 1}    1.62{col 49}{space 3}0.106{col 57}{space 4}-.0742679{col 70}{space 3} .7757799
{space 2}{txt}{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 2}{col 3}affect92     {col 17}{c |}
{space 7}affect62 {c |}{col 17}{res}{space 2} .7146496{col 29}{space 2} .0267065{col 40}{space 1}   26.76{col 49}{space 3}0.000{col 57}{space 4} .6623058{col 70}{space 3} .7669935
{txt}{space 5}canddiff62 {c |}{col 17}{res}{space 2} -.001612{col 29}{space 2} .0311515{col 40}{space 1}   -0.05{col 49}{space 3}0.959{col 57}{space 4}-.0626678{col 70}{space 3} .0594438
{txt}{space 2}ideostreng~62 {c |}{col 17}{res}{space 2} .0371043{col 29}{space 2} .0324951{col 40}{space 1}    1.14{col 49}{space 3}0.254{col 57}{space 4}-.0265848{col 70}{space 3} .1007935
{txt}{space 3}pidstrength2 {c |}{col 17}{res}{space 2} .1070699{col 29}{space 2} .0336109{col 40}{space 1}    3.19{col 49}{space 3}0.001{col 57}{space 4} .0411938{col 70}{space 3}  .172946
{txt}{space 2}issueextrem~2 {c |}{col 17}{res}{space 2} .0204212{col 29}{space 2} .0303287{col 40}{space 1}    0.67{col 49}{space 3}0.501{col 57}{space 4}-.0390219{col 70}{space 3} .0798644
{txt}{space 5}interest62 {c |}{col 17}{res}{space 2} .0143932{col 29}{space 2} .0301202{col 40}{space 1}    0.48{col 49}{space 3}0.633{col 57}{space 4}-.0446413{col 70}{space 3} .0734277
{txt}{space 5}education2 {c |}{col 17}{res}{space 2} -.011321{col 29}{space 2} .0306556{col 40}{space 1}   -0.37{col 49}{space 3}0.712{col 57}{space 4}-.0714048{col 70}{space 3} .0487629
{txt}{space 11}age2 {c |}{col 17}{res}{space 2}  .025437{col 29}{space 2} .0284927{col 40}{space 1}    0.89{col 49}{space 3}0.372{col 57}{space 4}-.0304075{col 70}{space 3} .0812816
{txt}{space 8}income2 {c |}{col 17}{res}{space 2} .0688042{col 29}{space 2} .0302605{col 40}{space 1}    2.27{col 49}{space 3}0.023{col 57}{space 4} .0094948{col 70}{space 3} .1281137
{txt}{space 9}female {c |}{col 17}{res}{space 2} .0232881{col 29}{space 2} .0287116{col 40}{space 1}    0.81{col 49}{space 3}0.417{col 57}{space 4}-.0329857{col 70}{space 3} .0795618
{txt}{space 10}black {c |}{col 17}{res}{space 2}-.0450599{col 29}{space 2} .0288044{col 40}{space 1}   -1.56{col 49}{space 3}0.118{col 57}{space 4}-.1015155{col 70}{space 3} .0113956
{txt}{space 10}south {c |}{col 17}{res}{space 2}  .010972{col 29}{space 2} .0280839{col 40}{space 1}    0.39{col 49}{space 3}0.696{col 57}{space 4}-.0440714{col 70}{space 3} .0660154
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}-.2475861{col 29}{space 2} .1607112{col 40}{space 1}   -1.54{col 49}{space 3}0.123{col 57}{space 4}-.5625743{col 70}{space 3}  .067402
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
var(e.canddi~92){c |}{col 17}{res}{space 2}  .632413{col 29}{space 2} .0315564{col 57}{space 4} .5734917{col 70}{space 3} .6973878
{txt}{space 1}var(e.affect92){c |}{col 17}{res}{space 2} .3694623{col 29}{space 2} .0221153{col 57}{space 4} .3285632{col 70}{space 3} .4154525
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{txt}Group{col 20}: {res}3{txt}{col 49}Number of obs{col 67}= {res}       400

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}      OIM
{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}{res}Structural     {col 17}{txt}{c |}
{space 2}{col 3}canddiff92   {col 17}{c |}
{space 7}affect62 {c |}{col 17}{res}{space 2} .1856975{col 29}{space 2} .0487168{col 40}{space 1}    3.81{col 49}{space 3}0.000{col 57}{space 4} .0902143{col 70}{space 3} .2811808
{txt}{space 5}canddiff62 {c |}{col 17}{res}{space 2} .3430209{col 29}{space 2} .0410948{col 40}{space 1}    8.35{col 49}{space 3}0.000{col 57}{space 4} .2624766{col 70}{space 3} .4235653
{txt}{space 2}ideostreng~62 {c |}{col 17}{res}{space 2} .0152247{col 29}{space 2} .0494627{col 40}{space 1}    0.31{col 49}{space 3}0.758{col 57}{space 4}-.0817205{col 70}{space 3} .1121698
{txt}{space 3}pidstrength2 {c |}{col 17}{res}{space 2} .0845358{col 29}{space 2} .0492135{col 40}{space 1}    1.72{col 49}{space 3}0.086{col 57}{space 4}-.0119209{col 70}{space 3} .1809925
{txt}{space 2}issueextrem~2 {c |}{col 17}{res}{space 2}  .085593{col 29}{space 2} .0453125{col 40}{space 1}    1.89{col 49}{space 3}0.059{col 57}{space 4}-.0032178{col 70}{space 3} .1744038
{txt}{space 5}interest62 {c |}{col 17}{res}{space 2}  .135413{col 29}{space 2} .0441067{col 40}{space 1}    3.07{col 49}{space 3}0.002{col 57}{space 4} .0489655{col 70}{space 3} .2218605
{txt}{space 5}education2 {c |}{col 17}{res}{space 2}-.0218884{col 29}{space 2} .0459794{col 40}{space 1}   -0.48{col 49}{space 3}0.634{col 57}{space 4}-.1120063{col 70}{space 3} .0682295
{txt}{space 11}age2 {c |}{col 17}{res}{space 2} .0483216{col 29}{space 2} .0437566{col 40}{space 1}    1.10{col 49}{space 3}0.269{col 57}{space 4}-.0374399{col 70}{space 3}  .134083
{txt}{space 8}income2 {c |}{col 17}{res}{space 2} .0418884{col 29}{space 2} .0455846{col 40}{space 1}    0.92{col 49}{space 3}0.358{col 57}{space 4}-.0474558{col 70}{space 3} .1312326
{txt}{space 9}female {c |}{col 17}{res}{space 2} .0000154{col 29}{space 2} .0434125{col 40}{space 1}    0.00{col 49}{space 3}1.000{col 57}{space 4}-.0850714{col 70}{space 3} .0851023
{txt}{space 10}black {c |}{col 17}{res}{space 2} .0017973{col 29}{space 2} .0437107{col 40}{space 1}    0.04{col 49}{space 3}0.967{col 57}{space 4}-.0838742{col 70}{space 3} .0874688
{txt}{space 10}south {c |}{col 17}{res}{space 2}-.0232627{col 29}{space 2} .0437551{col 40}{space 1}   -0.53{col 49}{space 3}0.595{col 57}{space 4}-.1090212{col 70}{space 3} .0624957
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 1.056847{col 29}{space 2} .3127834{col 40}{space 1}    3.38{col 49}{space 3}0.001{col 57}{space 4} .4438023{col 70}{space 3} 1.669891
{space 2}{txt}{hline 14}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 2}{col 3}affect92     {col 17}{c |}
{space 7}affect62 {c |}{col 17}{res}{space 2} .6721158{col 29}{space 2} .0279036{col 40}{space 1}   24.09{col 49}{space 3}0.000{col 57}{space 4} .6174258{col 70}{space 3} .7268058
{txt}{space 5}canddiff62 {c |}{col 17}{res}{space 2} .0290033{col 29}{space 2} .0322298{col 40}{space 1}    0.90{col 49}{space 3}0.368{col 57}{space 4}-.0341661{col 70}{space 3} .0921726
{txt}{space 2}ideostreng~62 {c |}{col 17}{res}{space 2} .0240912{col 29}{space 2} .0358397{col 40}{space 1}    0.67{col 49}{space 3}0.501{col 57}{space 4}-.0461533{col 70}{space 3} .0943358
{txt}{space 3}pidstrength2 {c |}{col 17}{res}{space 2} .1572953{col 29}{space 2} .0353997{col 40}{space 1}    4.44{col 49}{space 3}0.000{col 57}{space 4} .0879132{col 70}{space 3} .2266773
{txt}{space 2}issueextrem~2 {c |}{col 17}{res}{space 2} .1149956{col 29}{space 2} .0327534{col 40}{space 1}    3.51{col 49}{space 3}0.000{col 57}{space 4} .0508001{col 70}{space 3} .1791911
{txt}{space 5}interest62 {c |}{col 17}{res}{space 2} .0202185{col 29}{space 2} .0323265{col 40}{space 1}    0.63{col 49}{space 3}0.532{col 57}{space 4}-.0431404{col 70}{space 3} .0835773
{txt}{space 5}education2 {c |}{col 17}{res}{space 2} .0068922{col 29}{space 2} .0333289{col 40}{space 1}    0.21{col 49}{space 3}0.836{col 57}{space 4}-.0584313{col 70}{space 3} .0722156
{txt}{space 11}age2 {c |}{col 17}{res}{space 2}-.0411538{col 29}{space 2} .0317271{col 40}{space 1}   -1.30{col 49}{space 3}0.195{col 57}{space 4}-.1033378{col 70}{space 3} .0210302
{txt}{space 8}income2 {c |}{col 17}{res}{space 2}-.0310652{col 29}{space 2} .0330522{col 40}{space 1}   -0.94{col 49}{space 3}0.347{col 57}{space 4}-.0958464{col 70}{space 3} .0337159
{txt}{space 9}female {c |}{col 17}{res}{space 2} .0036857{col 29}{space 2} .0314599{col 40}{space 1}    0.12{col 49}{space 3}0.907{col 57}{space 4}-.0579746{col 70}{space 3} .0653461
{txt}{space 10}black {c |}{col 17}{res}{space 2} .0042386{col 29}{space 2} .0316761{col 40}{space 1}    0.13{col 49}{space 3}0.894{col 57}{space 4}-.0578454{col 70}{space 3} .0663226
{txt}{space 10}south {c |}{col 17}{res}{space 2}-.0036757{col 29}{space 2} .0317193{col 40}{space 1}   -0.12{col 49}{space 3}0.908{col 57}{space 4}-.0658444{col 70}{space 3} .0584931
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}-.2249552{col 29}{space 2} .2136922{col 40}{space 1}   -1.05{col 49}{space 3}0.292{col 57}{space 4}-.6437842{col 70}{space 3} .1938738
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
var(e.canddi~92){c |}{col 17}{res}{space 2} .7258727{col 29}{space 2} .0353042{col 57}{space 4} .6598735{col 70}{space 3}  .798473
{txt}{space 1}var(e.affect92){c |}{col 17}{res}{space 2} .3812012{col 29}{space 2} .0249197{col 57}{space 4}  .335359{col 70}{space 3} .4333099
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}LR test of model vs. saturated: chi2({res:3})   = {res:    32.24}, Prob > chi2 = {res}0.0000
{txt}
{com}.         
. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/adamenders/Dropbox/Perceived vs. Affective Polarization/Main text, Stata log.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 9 Mar 2020, 17:59:37
{txt}{.-}
{smcl}
{txt}{sf}{ul off}